mirror of
https://forgejo.ellis.link/continuwuation/continuwuity.git
synced 2026-11-14 20:56:49 +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
@@ -71,8 +71,8 @@ pub(crate) async fn search_users_route(
|
||||
} else {
|
||||
let user_is_in_shared_rooms = services
|
||||
.rooms
|
||||
.user
|
||||
.has_shared_rooms(sender_user, &user.user_id)
|
||||
.state_cache
|
||||
.user_sees_user(sender_user, &user.user_id)
|
||||
.await;
|
||||
|
||||
if user_is_in_shared_rooms {
|
||||
|
||||
Reference in new issue
Block a user