Fix notification in encrypted room for poll end event

This commit is contained in:
Florian Renaud 2023-02-23 09:23:30 +01:00
parent cd648a0b50
commit 021babc9b1
1 changed files with 1 additions and 1 deletions

View File

@ -488,7 +488,7 @@ fun Event.getPollContent(): MessagePollContent? {
}
fun Event.supportsNotification() =
this.getClearType() in EventType.MESSAGE + EventType.POLL_START.values + EventType.STATE_ROOM_BEACON_INFO.values
this.getClearType() in EventType.MESSAGE + EventType.POLL_START.values + EventType.POLL_END.values + EventType.STATE_ROOM_BEACON_INFO.values
fun Event.isContentReportable() =
this.getClearType() in EventType.MESSAGE + EventType.STATE_ROOM_BEACON_INFO.values