fix crash on group chats screen
This commit is contained in:
parent
a124b7e790
commit
3d5ecaf376
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue