mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-09 19:05:03 -04:00
Rename message handler's new snapshot_room to room_initial_sync() as that better suits its purpose
This commit is contained in:
parent
e9f587ecba
commit
75e95c45a2
2 changed files with 2 additions and 2 deletions
|
@ -362,7 +362,7 @@ class RoomInitialSyncRestServlet(RestServlet):
|
|||
@defer.inlineCallbacks
|
||||
def on_GET(self, request, room_id):
|
||||
user = yield self.auth.get_user_by_req(request)
|
||||
events = yield self.handlers.message_handler.snapshot_room(
|
||||
events = yield self.handlers.message_handler.room_initial_sync(
|
||||
room_id=room_id,
|
||||
user_id=user.to_string(),
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue