1
0
mirror of https://github.com/matrix-org/matrix-js-sdk.git synced 2025-09-01 21:21:58 +03:00

Add setGuestAccess to allow easy room guest access configuration.

This commit is contained in:
Kegan Dougal
2016-01-05 17:09:10 +00:00
parent 445491c4ad
commit 73e65bc18b
2 changed files with 31 additions and 0 deletions

View File

@@ -546,6 +546,9 @@ SyncApi.prototype._processRoomEvents = function(room, stateEventList,
room.addEventsToTimeline(timelineEventList);
};
/**
* @return {string}
*/
SyncApi.prototype._getGuestFilter = function() {
var guestRooms = this.client._guestRooms; // FIXME: horrible gut-wrenching
if (!guestRooms) {