fix event type which room-account settings were read from

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
Michael Telatynski 2018-06-22 19:17:31 +01:00
parent d4f9fec707
commit d1600bdacf
No known key found for this signature in database
GPG key ID: 3F879DA5AD802A5E

View file

@ -74,7 +74,7 @@ export default class RoomAccountSettingsHandler extends SettingsHandler {
return cli !== undefined && cli !== null; return cli !== undefined && cli !== null;
} }
_getSettings(roomId, eventType = "im.vector.settings") { _getSettings(roomId, eventType = "im.vector.web.settings") {
const room = MatrixClientPeg.get().getRoom(roomId); const room = MatrixClientPeg.get().getRoom(roomId);
if (!room) return null; if (!room) return null;