mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2024-12-23 19:45:05 +01:00
add note that powerlevels won't update when the state event is changed
This commit is contained in:
parent
d2f5b412ac
commit
0c4c018ceb
@ -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({
|
||||||
|
Loading…
Reference in New Issue
Block a user