bug fix on deleting conference bookmarks
This commit is contained in:
parent
6f5d7071af
commit
ed4d0d38e3
|
@ -247,7 +247,7 @@ public class StartConversation extends XmppActivity {
|
||||||
}
|
}
|
||||||
|
|
||||||
protected void deleteConference() {
|
protected void deleteConference() {
|
||||||
int position = contact_context_id;
|
int position = conference_context_id;
|
||||||
Bookmark bookmark = (Bookmark) conferences.get(position);
|
Bookmark bookmark = (Bookmark) conferences.get(position);
|
||||||
Account account = bookmark.getAccount();
|
Account account = bookmark.getAccount();
|
||||||
account.getBookmarks().remove(bookmark);
|
account.getBookmarks().remove(bookmark);
|
||||||
|
|
Loading…
Reference in New Issue