Skip to content
Snippets Groups Projects
Commit 783b556b authored by Matthew Hodgson's avatar Matthew Hodgson
Browse files

todo for lazy member work

parent beafd597
No related branches found
No related tags found
No related merge requests found
......@@ -1294,6 +1294,12 @@ SyncApi.prototype._resolveInvites = function(room) {
*/
SyncApi.prototype._processRoomEvents = function(room, stateEventList,
timelineEventList) {
// TODO: if we are lazyloading members, then we simply never add member events from
// the state block into the timeline with addLiveEvents(); instead we just
// update the state.
// (Ftr, we hide state changes which happen during a gappy sync because
// we empty the timeline each time and re-initialise the state)
// If there are no events in the timeline yet, initialise it with
// the given state events
const liveTimeline = room.getLiveTimeline();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment