aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/java/de/pixart/messenger/parser/MessageParser.java
diff options
context:
space:
mode:
authorChristian Schneppe <christian.schneppe@pix-art.de>2019-10-26 18:28:35 +0200
committerChristian Schneppe <christian.schneppe@pix-art.de>2019-10-26 18:28:35 +0200
commit493ac6286f017858432b38624ea4c2f9e3ec9bba (patch)
tree824afae7d2b5a9c4ada478678672ec89967b4956 /src/main/java/de/pixart/messenger/parser/MessageParser.java
parent57e0f4a21d127667df11192711c7077439cfbb36 (diff)
update ui after bookmark change
Diffstat (limited to 'src/main/java/de/pixart/messenger/parser/MessageParser.java')
-rw-r--r--src/main/java/de/pixart/messenger/parser/MessageParser.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/main/java/de/pixart/messenger/parser/MessageParser.java b/src/main/java/de/pixart/messenger/parser/MessageParser.java
index 9917f2c51..7557096bc 100644
--- a/src/main/java/de/pixart/messenger/parser/MessageParser.java
+++ b/src/main/java/de/pixart/messenger/parser/MessageParser.java
@@ -331,7 +331,9 @@ public class MessageParser extends AbstractParser implements OnMessagePacketRece
if (item != null) {
final Bookmark bookmark = Bookmark.parseFromItem(item, account);
if (bookmark != null) {
+ account.putBookmark(bookmark);
mXmppConnectionService.processModifiedBookmark(bookmark);
+ mXmppConnectionService.updateConversationUi();
}
}
if (retract != null) {
@@ -340,6 +342,7 @@ public class MessageParser extends AbstractParser implements OnMessagePacketRece
account.removeBookmark(id);
Log.d(Config.LOGTAG, account.getJid().asBareJid() + ": deleted bookmark for " + id);
mXmppConnectionService.processDeletedBookmark(account, id);
+ mXmppConnectionService.updateConversationUi();
}
}
} else {