about summary refs log tree commit diff
path: root/MatrixUtils.Web/Pages/Tools/Moderation/RoomIntersections.razor
diff options
context:
space:
mode:
authorRory& <root@rory.gay>2025-12-09 23:42:07 +0100
committerRory& <root@rory.gay>2025-12-09 23:42:07 +0100
commit6769b0fd6f37cbc27646fa0ca8e458489c935039 (patch)
tree3acc618064bda1ada456eb1b98a90dba0abdffbd /MatrixUtils.Web/Pages/Tools/Moderation/RoomIntersections.razor
parentdotnet 10, synapse admin room list improvements (diff)
downloadMatrixUtils-6769b0fd6f37cbc27646fa0ca8e458489c935039.tar.xz
Commit various changes that never made it into git
Diffstat (limited to 'MatrixUtils.Web/Pages/Tools/Moderation/RoomIntersections.razor')
-rw-r--r--MatrixUtils.Web/Pages/Tools/Moderation/RoomIntersections.razor8
1 files changed, 4 insertions, 4 deletions
diff --git a/MatrixUtils.Web/Pages/Tools/Moderation/RoomIntersections.razor b/MatrixUtils.Web/Pages/Tools/Moderation/RoomIntersections.razor

index ee77532..a8ae603 100644 --- a/MatrixUtils.Web/Pages/Tools/Moderation/RoomIntersections.razor +++ b/MatrixUtils.Web/Pages/Tools/Moderation/RoomIntersections.razor
@@ -55,7 +55,7 @@ <td>@sets.Item2[0].Room.RoomId</td> <td>@((sets.Item2[i].Member.TypedContent as RoomMemberEventContent).Membership)</td> <td>@(roomNames.ContainsKey(sets.Item2[i].Room) ? roomNames[sets.Item2[i].Room] : "")</td> - <td>@(roomAliasses.ContainsKey(sets.Item2[i].Room) ? roomAliasses[sets.Item2[i].Room] : "")</td> + <td>@(roomAliasses.ContainsKey(sets.Item2[i].Room) ? roomAliasses[sets.Item2[i].Room] : "")</td> } else { <td/> @@ -88,7 +88,7 @@ [Parameter, SupplyParameterFromQuery(Name = "b")] public string ImportSetBSpaceId { get; set; } = ""; - Dictionary<string, Dictionary<GenericRoom, StateEventResponse>> roomMembers { get; set; } = new(); + Dictionary<string, Dictionary<GenericRoom, MatrixEventResponse>> roomMembers { get; set; } = new(); Dictionary<string, (List<Match>, List<Match>)> matches { get; set; } = new(); @@ -127,7 +127,7 @@ var setBusers = new Dictionary<string, List<Match>>(); await Task.WhenAll(GetMembers(RoomsA, setAusers), GetMembers(RoomsB, setBusers)); - + Log.Add($"Got {setAusers.Count} users in set A"); Log.Add($"Got {setBusers.Count} users in set B"); Log.Add("Calculating intersections..."); @@ -191,7 +191,7 @@ public class Match { public GenericRoom Room { get; set; } - public StateEventResponse Member { get; set; } + public MatrixEventResponse Member { get; set; } } } \ No newline at end of file