bug fix on deleting conference bookmarks

This commit is contained in:
iNPUTmice 2014-07-15 17:19:47 +02:00
parent 6f5d7071af
commit ed4d0d38e3

View file

@ -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);