move and improve common-rooms related
Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
parent
aea82183b2
commit
3968d03868
6 changed files with 21 additions and 38 deletions
|
@ -52,7 +52,7 @@ async fn share_encrypted_room(
|
|||
) -> bool {
|
||||
services
|
||||
.rooms
|
||||
.user
|
||||
.state_cache
|
||||
.get_shared_rooms(sender_user, user_id)
|
||||
.ready_filter(|&room_id| Some(room_id) != ignore_room)
|
||||
.any(|other_room_id| {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue