Skip to content
Snippets Groups Projects
Commit 2c7c12bc authored by Paul "LeoNerd" Evans's avatar Paul "LeoNerd" Evans
Browse files

Initial room event stream token must be s0, not s1, or everyone will miss the very first room event

parent efc5f344
No related branches found
No related tags found
No related merge requests found
......@@ -294,7 +294,7 @@ class StreamStore(SQLBaseStore):
logger.debug("get_room_events_max_id: %s", res)
if not res or not res[0] or not res[0]["m"]:
return "s1"
return "s0"
key = res[0]["m"]
return "s%d" % (key,)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment