From ed4d0d38e3890fe3f846aa13fe4b0aee3e13b851 Mon Sep 17 00:00:00 2001 From: iNPUTmice Date: Tue, 15 Jul 2014 17:19:47 +0200 Subject: [PATCH] bug fix on deleting conference bookmarks --- src/eu/siacs/conversations/ui/StartConversation.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/eu/siacs/conversations/ui/StartConversation.java b/src/eu/siacs/conversations/ui/StartConversation.java index fb97a788b..88714dabf 100644 --- a/src/eu/siacs/conversations/ui/StartConversation.java +++ b/src/eu/siacs/conversations/ui/StartConversation.java @@ -247,7 +247,7 @@ public class StartConversation extends XmppActivity { } protected void deleteConference() { - int position = contact_context_id; + int position = conference_context_id; Bookmark bookmark = (Bookmark) conferences.get(position); Account account = bookmark.getAccount(); account.getBookmarks().remove(bookmark);