Work fork of an Android Jabber client for bridge users git.sr.ht/~singpolyma/cheogram-android
sopranica sgx xmpp jabber
0

Configure Feed

Select the types of activity you want to include in your feed.

Remove unused `scrollToReply`

from cherry-pick of f96f58acd1ce1e1a232991c6be283d8109a48ae7

authored by

Phillip Davis and committed by
Stephen Paul Weber
(Apr 21, 2026, 10:21 AM -0500) 8b06efb9 37c8d5a8

-14
-14
src/main/java/eu/siacs/conversations/ui/ConversationFragment.java
··· 1586 1586 messageListAdapter.setOnContactPictureLongClicked(this); 1587 1587 messageListAdapter.setOnInlineImageLongClicked(this); 1588 1588 messageListAdapter.setConversationFragment(this); 1589 - // messageListAdapter.setReplyClickListener(this::scrollToReply); //TODO add a better scrol to reply later 1590 1589 binding.messagesView.setAdapter(messageListAdapter); 1591 1590 1592 1591 binding.textinput.addTextChangedListener( ··· 1892 1891 updateSendButton(); 1893 1892 } 1894 1893 1895 - 1896 - private void scrollToReply(Message message) { 1897 - Element reply = message.getReply(); 1898 - if (reply == null) return; 1899 - 1900 - String replyId = reply.getAttribute("id"); 1901 - 1902 - if (replyId != null) { 1903 - Runnable postSelectionRunnable = () -> highlightMessage(replyId); 1904 - replyJumps.push(message); 1905 - updateSelection(replyId, binding.messagesView.getHeight() / 2, postSelectionRunnable, true, false); 1906 - } 1907 - } 1908 1894 1909 1895 private void highlightMessage(String uuid) { 1910 1896 binding.messagesView.postDelayed(() -> {