mirror of
https://github.com/element-hq/element-web
synced 2024-11-23 17:56:01 +03:00
don't let 3pid invites mark room as unread
fixes https://github.com/vector-im/riot-web/issues/5698
This commit is contained in:
parent
4a3be82828
commit
70d2ffc850
1 changed files with 2 additions and 0 deletions
|
@ -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 a new issue