add note that powerlevels won't update when the state event is changed
This commit is contained in:
parent
d2f5b412ac
commit
0c4c018ceb
1 changed files with 1 additions and 0 deletions
|
@ -76,6 +76,7 @@ export class Timeline {
|
||||||
}
|
}
|
||||||
|
|
||||||
async _loadPowerLevels(txn) {
|
async _loadPowerLevels(txn) {
|
||||||
|
// TODO: update power levels as state is updated
|
||||||
const powerLevelsState = await txn.roomState.get(this._roomId, "m.room.power_levels", "");
|
const powerLevelsState = await txn.roomState.get(this._roomId, "m.room.power_levels", "");
|
||||||
if (powerLevelsState) {
|
if (powerLevelsState) {
|
||||||
return new PowerLevels({
|
return new PowerLevels({
|
||||||
|
|
Reference in a new issue