about summary refs log tree commit diff
path: root/LibMatrix/RoomTypes/GenericRoom.cs
diff options
context:
space:
mode:
authorRory& <root@rory.gay>2025-08-06 03:12:29 +0200
committerRory& <root@rory.gay>2025-08-06 03:12:29 +0200
commitfcad35734ffe635a85e27349ff09bc035f268062 (patch)
tree0245003d1245ab459de075b742fec1448bf85ee3 /LibMatrix/RoomTypes/GenericRoom.cs
parentDont set own powerlevel on room creation (diff)
downloadLibMatrix-fcad35734ffe635a85e27349ff09bc035f268062.tar.xz
Handle room upgrades
Diffstat (limited to 'LibMatrix/RoomTypes/GenericRoom.cs')
-rw-r--r--LibMatrix/RoomTypes/GenericRoom.cs2
1 files changed, 2 insertions, 0 deletions
diff --git a/LibMatrix/RoomTypes/GenericRoom.cs b/LibMatrix/RoomTypes/GenericRoom.cs

index 565776c..7fc942e 100644 --- a/LibMatrix/RoomTypes/GenericRoom.cs +++ b/LibMatrix/RoomTypes/GenericRoom.cs
@@ -695,6 +695,8 @@ public class GenericRoom { return creators[0].Split(':', 2)[1]; } + + public async Task<List<string>> GetHomeserversInRoom() => (await GetMemberIdsListAsync("join")).Select(x => x.Split(':', 2)[1]).Distinct().ToList(); } public class RoomIdResponse {