Revert "Exclude state-events from room summaries and unread indicators"

This reverts commit 72d2b1c9f1.

Change-Id: I412f846cd82d953fa25d761ca5804b5a216e2dff
This commit is contained in:
SpiritCroc 2020-09-17 11:53:56 +02:00
parent 1ff602db3b
commit f217ece630

View file

@ -66,21 +66,17 @@ internal class RoomSummaryUpdater @Inject constructor(
val PREVIEWABLE_TYPES = listOf(
// TODO filter message type (KEY_VERIFICATION_READY, etc.)
EventType.MESSAGE,
/*
EventType.STATE_ROOM_NAME,
EventType.STATE_ROOM_TOPIC,
EventType.STATE_ROOM_AVATAR,
EventType.STATE_ROOM_MEMBER,
EventType.STATE_ROOM_HISTORY_VISIBILITY,
*/
EventType.CALL_INVITE,
EventType.CALL_HANGUP,
EventType.CALL_ANSWER,
EventType.ENCRYPTED,
/*
EventType.STATE_ROOM_ENCRYPTION,
EventType.STATE_ROOM_THIRD_PARTY_INVITE,
*/
EventType.STICKER,
EventType.REACTION,
EventType.STATE_ROOM_CREATE