Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
matrix-js-sdk
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
GitHub Mirror
Matrix.org
matrix-js-sdk
Commits
783b556b
Commit
783b556b
authored
7 years ago
by
Matthew Hodgson
Browse files
Options
Downloads
Patches
Plain Diff
todo for lazy member work
parent
beafd597
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/sync.js
+6
-0
6 additions, 0 deletions
src/sync.js
with
6 additions
and
0 deletions
src/sync.js
+
6
−
0
View file @
783b556b
...
...
@@ -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
();
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment