Change name

erikj/paginate_sync
Erik Johnston 2016-05-20 11:11:42 +01:00
parent 5941346c5b
commit 99a7205093
2 changed files with 2 additions and 2 deletions

View File

@ -208,7 +208,7 @@ class SyncHandler(object):
@defer.inlineCallbacks
def _get_last_ts(room_id):
entry = yield self.store.get_last_ts_for_room(
entry = yield self.store.get_last_event_id_ts_for_room(
room_id, token.room_key
)

View File

@ -529,7 +529,7 @@ class StreamStore(SQLBaseStore):
int(stream),
)
def get_last_ts_for_room(self, room_id, token):
def get_last_event_id_ts_for_room(self, room_id, token):
stream_ordering = RoomStreamToken.parse_stream_token(token).stream
sql = (