Skip to content
Snippets Groups Projects
Commit 56251e27 authored by Nik | Klampfradler's avatar Nik | Klampfradler Committed by Benedict Suska
Browse files

Change chunk direction when 'from_' is None

parent 8b3584fc
No related branches found
No related tags found
1 merge request!3Resolve "Bug in "react_room_messages""
...@@ -181,6 +181,9 @@ class Matrix: ...@@ -181,6 +181,9 @@ class Matrix:
limit = self.sync_limit limit = self.sync_limit
if from_ is None: if from_ is None:
from_ = self._from_cache.get(room, None) from_ = self._from_cache.get(room, None)
if from_ is None:
dir_ = "b"
endpoint = "/r0/rooms/%s/messages" % (room,) endpoint = "/r0/rooms/%s/messages" % (room,)
......
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