Fix grammar and document get_current_users_in_room (#4998)

This commit is contained in:
Andrew Morgan 2019-04-03 14:32:20 +01:00 committed by GitHub
parent e4d473d855
commit 4a4d5c4fd6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
13 changed files with 32 additions and 20 deletions

View file

@ -102,7 +102,7 @@ class EventStreamHandler(BaseHandler):
# Send down presence.
if event.state_key == auth_user_id:
# Send down presence for everyone in the room.
users = yield self.state.get_current_user_in_room(event.room_id)
users = yield self.state.get_current_users_in_room(event.room_id)
states = yield presence_handler.get_states(
users,
as_event=True,