Allow moderators to use shell broadcasting, distinct shell finder to remove duplicate shells

This commit is contained in:
cake
2025-11-30 01:26:18 +01:00
parent 04cd09cbb9
commit cab13874d8
3 changed files with 8 additions and 5 deletions

View File

@@ -498,7 +498,7 @@ public class SyncshellFinderUI : WindowMediatorSubscriberBase
{
var groups = await _apiController.GetBroadcastedGroups(syncshellBroadcasts)
.ConfigureAwait(false);
updatedList = groups?.ToList();
updatedList = groups?.DistinctBy(g => g.Group.GID).ToList();
}
catch (Exception ex)
{