mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-11-02 03:06:14 +00:00
Display poll notifications in the notification drawer (#1467)
Display notifications for polls as if they were message events.
This commit is contained in:
+4
-1
@@ -61,7 +61,10 @@ sealed interface NotificationContent {
|
||||
) : MessageLike
|
||||
data object RoomRedaction : MessageLike
|
||||
data object Sticker : MessageLike
|
||||
data class Poll(val question: String) : MessageLike
|
||||
data class Poll(
|
||||
val senderId: UserId,
|
||||
val question: String,
|
||||
) : MessageLike
|
||||
}
|
||||
|
||||
sealed interface StateEvent : NotificationContent {
|
||||
|
||||
Reference in New Issue
Block a user