From 60d2dc75f96216638cee57834814f4115033e0ae Mon Sep 17 00:00:00 2001
From: MadLittleMods stream_ordering
is an auto
incrementing integer, but backfilled events start with stream_ordering=-1
and decrement.
/sync
returns things in the order they arrive at the server (stream_ordering
)./messages
(and /backfill
in the federation API) return them in the order determined by the event graph (topological_ordering, stream_ordering)
./sync?since=xxx
returns things in the order they arrive at the server
+(stream_ordering
)./sync
, /messages
(and /backfill
in the federation API) return them in
+the order determined by the event graph (topological_ordering, stream_ordering)
.The general idea is that, if you're following a room in real-time (i.e.
/sync
), you probably want to see the messages as they arrive at your server,
--
cgit 1.5.1