mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-02 19:54:53 -04:00
Fix grammar and document get_current_users_in_room (#4998)
This commit is contained in:
parent
e4d473d855
commit
4a4d5c4fd6
13 changed files with 32 additions and 20 deletions
|
@ -121,9 +121,9 @@ class TypingNotificationsTestCase(unittest.HomeserverTestCase):
|
|||
|
||||
self.datastore.get_joined_hosts_for_room = get_joined_hosts_for_room
|
||||
|
||||
def get_current_user_in_room(room_id):
|
||||
def get_current_users_in_room(room_id):
|
||||
return set(str(u) for u in self.room_members)
|
||||
hs.get_state_handler().get_current_user_in_room = get_current_user_in_room
|
||||
hs.get_state_handler().get_current_users_in_room = get_current_users_in_room
|
||||
|
||||
self.datastore.get_user_directory_stream_pos.return_value = (
|
||||
# we deliberately return a non-None stream pos to avoid doing an initial_spam
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue