Change name
parent
5941346c5b
commit
99a7205093
|
@ -208,7 +208,7 @@ class SyncHandler(object):
|
||||||
|
|
||||||
@defer.inlineCallbacks
|
@defer.inlineCallbacks
|
||||||
def _get_last_ts(room_id):
|
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
|
room_id, token.room_key
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
@ -529,7 +529,7 @@ class StreamStore(SQLBaseStore):
|
||||||
int(stream),
|
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
|
stream_ordering = RoomStreamToken.parse_stream_token(token).stream
|
||||||
|
|
||||||
sql = (
|
sql = (
|
||||||
|
|
Loading…
Reference in New Issue