Fix crash when reacting to release note channel messages.

This commit is contained in:
Cody Henthorne
2022-02-10 16:26:13 -05:00
parent c547553770
commit 233ba03f73
2 changed files with 6 additions and 1 deletions

View File

@@ -654,7 +654,7 @@ public final class ConversationReactionOverlay extends FrameLayout {
}
private void handleUpEvent() {
if (selected != -1 && onReactionSelectedListener != null) {
if (selected != -1 && onReactionSelectedListener != null && backgroundView.getVisibility() == View.VISIBLE) {
if (selected == customEmojiIndex) {
onReactionSelectedListener.onCustomReactionSelected(messageRecord, emojiViews[selected].getTag() != null);
} else {