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

More commenting on the creation of guest filters

This commit is contained in:
Kegan Dougal
2016-01-11 14:52:06 +00:00
parent ea3bd1450e
commit 4fe95f18b9

View File

@@ -649,6 +649,8 @@ SyncApi.prototype._getGuestFilter = function() {
if (!guestRooms) {
return "{}";
}
// we just need to specify the filter inline if we're a guest because guests
// can't create filters.
return JSON.stringify({
room: {
timeline: {