mirror of https://github.com/vector-im/riot-web
don't let 3pid invites mark room as unread
fixes https://github.com/vector-im/riot-web/issues/5698pull/21833/head
parent
4a3be82828
commit
70d2ffc850
|
@ -28,6 +28,8 @@ module.exports = {
|
|||
return false;
|
||||
} else if (ev.getType() == 'm.room.member') {
|
||||
return false;
|
||||
} else if (ev.getType() == 'm.room.third_party_invite') {
|
||||
return false;
|
||||
} else if (ev.getType() == 'm.call.answer' || ev.getType() == 'm.call.hangup') {
|
||||
return false;
|
||||
} else if (ev.getType == 'm.room.message' && ev.getContent().msgtype == 'm.notify') {
|
||||
|
|
Loading…
Reference in New Issue