Fix spoilers in roomlist subtitles

Make sure spoilers aren't revealed in SubtitleRole like in LastEventRole then remove LastEventRole because it is no longer used
This commit is contained in:
James Graham
2023-12-09 15:30:19 +00:00
parent d7230022f6
commit a035d6542d
2 changed files with 5 additions and 10 deletions

View File

@@ -69,7 +69,6 @@ public:
CategoryRole, /**< The room category, e.g favourite. */
NotificationCountRole, /**< The number of notifications in the room. */
HighlightCountRole, /**< The number of highlighted messages in the room. */
LastEventRole, /**< Text for the last event in the room. */
LastActiveTimeRole, /**< The timestamp of the last event sent in the room. */
JoinStateRole, /**< The local user's join state in the room. */
CurrentRoomRole, /**< The room object for the room. */