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;
|
int resContextMenu;
|
||||||
|
|
||||||
ListItem item = activity.contacts.get(position);
|
ListItem item;
|
||||||
if (itemsFromContacts) {
|
if (itemsFromContacts) {
|
||||||
|
item = activity.contacts.get(position);
|
||||||
if (item instanceof Bookmark) {
|
if (item instanceof Bookmark) {
|
||||||
resContextMenu = mResContextMenuConference;
|
resContextMenu = mResContextMenuConference;
|
||||||
} else {
|
} else {
|
||||||
resContextMenu = mResContextMenuContact;
|
resContextMenu = mResContextMenuContact;
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
item = activity.conferences.get(position);
|
||||||
resContextMenu = mResContextMenuConference;
|
resContextMenu = mResContextMenuConference;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue