Fix up reactions popup

This commit is contained in:
Arne 2025-01-06 12:39:37 +01:00
parent 34e50dbce5
commit 957269006e

View file

@ -1468,8 +1468,7 @@ public class MessageAdapter extends ArrayAdapter<Message> {
|| (c.getMucOptions().occupantId() || (c.getMucOptions().occupantId()
&& c.getMucOptions().participating()))) { && c.getMucOptions().participating()))) {
viewHolder.messageBox().setOnTouchListener((v, event) -> { viewHolder.messageBox().setOnTouchListener((v, event) -> {
boolean isLink = LinkClickDetector.isLinkClicked(viewHolder.messageBody(), event); if (event.getAction() == MotionEvent.ACTION_UP ) {
if (event.getAction() == MotionEvent.ACTION_UP && !isLink ) {
if (MessageAdapter.this.mOnMessageBoxClickedListener != null) { if (MessageAdapter.this.mOnMessageBoxClickedListener != null) {
popup.setFocusable(false); popup.setFocusable(false);
popup.onTouch(v, event); popup.onTouch(v, event);