fix: mention container long click

Co-authored-by: NekoInverter <chsqwyx@gmail.com>
This commit is contained in:
xtaodada 2022-10-24 17:41:59 +08:00
parent 3b08403289
commit 0df766e454
Signed by: xtaodada
GPG Key ID: 4CBB3F4FA8C85659

View File

@ -7282,6 +7282,7 @@ public class ChatActivity extends BaseFragment implements NotificationCenter.Not
if (getParentActivity() == null || !mentionContainer.getAdapter().isLongClickEnabled()) {
return false;
}
position--;
Object object = mentionContainer.getAdapter().getItem(position);
int start = mentionContainer.getAdapter().getResultStartPosition();
int len = mentionContainer.getAdapter().getResultLength();