mirror of
https://forgejo.ellis.link/continuwuation/continuwuity.git
synced 2026-11-15 05:06:53 +00:00
move and improve common-rooms related
Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
1 parent
aea82183b2
commit
3968d03868
6 files changed
+21
-38
No files matched your search
@@ -55,7 +55,7 @@ pub(crate) async fn get_mutual_rooms_route(
|
||||
|
||||
let mutual_rooms: Vec<OwnedRoomId> = services
|
||||
.rooms
|
||||
.user
|
||||
.state_cache
|
||||
.get_shared_rooms(sender_user, &body.user_id)
|
||||
.map(ToOwned::to_owned)
|
||||
.collect()
|
||||
|
||||
Reference in new issue
Block a user