mirror of
https://github.com/nextcloud/talk-android
synced 2025-03-06 14:27:24 +00:00
fix to update UI only if reaction was actually added
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
This commit is contained in:
parent
36b786616a
commit
357c67db83
@ -256,7 +256,7 @@ class MessageActionsDialog(
|
||||
|
||||
override fun onNext(@NonNull genericOverall: GenericOverall) {
|
||||
val statusCode = genericOverall.ocs.meta.statusCode
|
||||
if (statusCode == HTTP_OK || statusCode == HTTP_CREATED) {
|
||||
if (statusCode == HTTP_CREATED) {
|
||||
chatController.updateAdapterAfterSendReaction(message, emoji)
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user