You've already forked matrix-js-sdk
mirror of
https://github.com/matrix-org/matrix-js-sdk.git
synced 2026-01-03 23:22:30 +03:00
Don't lie in comments; remove spurious flag setting
This commit is contained in:
@@ -84,7 +84,7 @@ SyncApi.prototype.syncLeftRooms = function() {
|
||||
var client = this.client;
|
||||
var self = this;
|
||||
|
||||
// grab a filter with limit=0 and include_leave=true
|
||||
// grab a filter with limit=1 and include_leave=true
|
||||
var filter = new Filter(this.client.credentials.userId);
|
||||
filter.setTimelineLimit(1);
|
||||
filter.setIncludeLeaveRooms(true);
|
||||
@@ -135,7 +135,6 @@ SyncApi.prototype.syncLeftRooms = function() {
|
||||
client.store.storeRoom(room);
|
||||
client.emit("Room", room);
|
||||
});
|
||||
client._syncedLeftRooms = true;
|
||||
return rooms;
|
||||
});
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user