add note that powerlevels won't update when the state event is changed

This commit is contained in:
Bruno Windels 2021-06-02 18:43:47 +02:00
parent d2f5b412ac
commit 0c4c018ceb

View File

@ -76,6 +76,7 @@ export class Timeline {
}
async _loadPowerLevels(txn) {
// TODO: update power levels as state is updated
const powerLevelsState = await txn.roomState.get(this._roomId, "m.room.power_levels", "");
if (powerLevelsState) {
return new PowerLevels({