fix crash on group chats screen

This commit is contained in:
kosyak 2024-08-12 10:19:31 +02:00
parent a124b7e790
commit 3d5ecaf376

View file

@ -1417,14 +1417,16 @@ public class StartConversationActivity extends XmppActivity implements XmppConne
int resContextMenu;
ListItem item = activity.contacts.get(position);
ListItem item;
if (itemsFromContacts) {
item = activity.contacts.get(position);
if (item instanceof Bookmark) {
resContextMenu = mResContextMenuConference;
} else {
resContextMenu = mResContextMenuContact;
}
} else {
item = activity.conferences.get(position);
resContextMenu = mResContextMenuConference;
}