aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/java/de/pixart/messenger/ui
diff options
context:
space:
mode:
authorChristian Schneppe <christian.schneppe@pix-art.de>2019-10-26 19:01:32 +0200
committerChristian Schneppe <christian.schneppe@pix-art.de>2019-10-26 19:01:32 +0200
commit7d8514492af52d1e7590317478dd3e85af202606 (patch)
treebdad532e41ba617dc6a43c9f858b61e0ecb20818 /src/main/java/de/pixart/messenger/ui
parent493ac6286f017858432b38624ea4c2f9e3ec9bba (diff)
set autojoin=true after following invite
Diffstat (limited to 'src/main/java/de/pixart/messenger/ui')
-rw-r--r--src/main/java/de/pixart/messenger/ui/ChannelDiscoveryActivity.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/de/pixart/messenger/ui/ChannelDiscoveryActivity.java b/src/main/java/de/pixart/messenger/ui/ChannelDiscoveryActivity.java
index 7d28edf13..bab53e127 100644
--- a/src/main/java/de/pixart/messenger/ui/ChannelDiscoveryActivity.java
+++ b/src/main/java/de/pixart/messenger/ui/ChannelDiscoveryActivity.java
@@ -229,7 +229,7 @@ public class ChannelDiscoveryActivity extends XmppActivity implements MenuItem.O
Bookmark bookmark = conversation.getBookmark();
if (bookmark != null) {
if (!bookmark.autojoin() && syncAutoJoin) {
- conversation.getBookmark().setAutojoin(true);
+ bookmark.setAutojoin(true);
xmppConnectionService.createBookmark(account, bookmark);
}
} else {