aboutsummaryrefslogtreecommitdiffstats
path: root/src/eu/siacs/conversations/ui
diff options
context:
space:
mode:
authoriNPUTmice <daniel@gultsch.de>2014-07-15 20:41:10 +0200
committeriNPUTmice <daniel@gultsch.de>2014-07-15 20:41:10 +0200
commite20842608b76f59d56600e88d786c4ae7a01b5c8 (patch)
tree01659307ebe9111cc0ad9738edd77142e21b582f /src/eu/siacs/conversations/ui
parentfc5143734e2e90e11a493d64cd0007d8a3c238a0 (diff)
unregister bookmark on conversation when bookmark is deleted
Diffstat (limited to 'src/eu/siacs/conversations/ui')
-rw-r--r--src/eu/siacs/conversations/ui/StartConversation.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/eu/siacs/conversations/ui/StartConversation.java b/src/eu/siacs/conversations/ui/StartConversation.java
index da6c967bd..f23eb4202 100644
--- a/src/eu/siacs/conversations/ui/StartConversation.java
+++ b/src/eu/siacs/conversations/ui/StartConversation.java
@@ -278,6 +278,7 @@ public class StartConversation extends XmppActivity {
@Override
public void onClick(DialogInterface dialog, int which) {
+ bookmark.unregisterConversation();
Account account = bookmark.getAccount();
account.getBookmarks().remove(bookmark);
xmppConnectionService.pushBookmarks(account);