mirror of
https://github.com/vector-im/element-web.git
synced 2024-11-16 21:24:59 +08: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
@ -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
Block a user