add Debug
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
parent
289ee86a5d
commit
856e161c8b
1 changed files with 1 additions and 0 deletions
|
@ -46,6 +46,7 @@ export default class MessageActionBar extends React.PureComponent {
|
|||
this.props.mxEvent.on("Event.decrypted", this.onDecrypted);
|
||||
const room = MatrixClientPeg.get().getRoom(this.props.mxEvent.getRoomId());
|
||||
if (room) {
|
||||
console.log("DEBUG", room);
|
||||
room.on("RoomMember.powerLevel", this.onPermissionsChange);
|
||||
room.on("RoomMember.membership", this.onPermissionsChange);
|
||||
this.onPermissionsChange();
|
||||
|
|
Loading…
Reference in a new issue