From 3ea3d0fc918e4b213ab9700155d54b2b80c0262a Mon Sep 17 00:00:00 2001 From: Benoit Marty Date: Tue, 29 Dec 2020 15:42:12 +0100 Subject: [PATCH] Unspecced msgType field in m.sticker (#2580) --- CHANGES.md | 1 + .../sdk/api/session/room/model/message/MessageStickerContent.kt | 1 + 2 files changed, 2 insertions(+) diff --git a/CHANGES.md b/CHANGES.md index 373c3aa985..a35c2fdd10 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -8,6 +8,7 @@ Improvements 🙌: - Add System theme option and set as default (#904) (#2387) Bugfix 🐛: + - Unspecced msgType field in m.sticker (#2580) - Wait for all room members to be known before sending a message to a e2e room (#2518) - Url previews sometimes attached to wrong message (#2561) diff --git a/matrix-sdk-android/src/main/java/org/matrix/android/sdk/api/session/room/model/message/MessageStickerContent.kt b/matrix-sdk-android/src/main/java/org/matrix/android/sdk/api/session/room/model/message/MessageStickerContent.kt index 00fa68c0ac..280316d4b5 100644 --- a/matrix-sdk-android/src/main/java/org/matrix/android/sdk/api/session/room/model/message/MessageStickerContent.kt +++ b/matrix-sdk-android/src/main/java/org/matrix/android/sdk/api/session/room/model/message/MessageStickerContent.kt @@ -27,6 +27,7 @@ data class MessageStickerContent( /** * Set in local, not from server */ + @Transient override val msgType: String = MessageType.MSGTYPE_STICKER_LOCAL, /**