not the cause of the bug, but this seems wrong

This commit is contained in:
Bruno Windels 2019-02-11 15:41:32 +01:00
parent b6aa72da55
commit d069f4a89a

View file

@ -32,7 +32,7 @@ module.exports = {
return false; return false;
} else if (ev.getType() == 'm.call.answer' || ev.getType() == 'm.call.hangup') { } else if (ev.getType() == 'm.call.answer' || ev.getType() == 'm.call.hangup') {
return false; return false;
} else if (ev.getType == 'm.room.message' && ev.getContent().msgtype == 'm.notify') { } else if (ev.getType() == 'm.room.message' && ev.getContent().msgtype == 'm.notify') {
return false; return false;
} }
const EventTile = sdk.getComponent('rooms.EventTile'); const EventTile = sdk.getComponent('rooms.EventTile');