diff options
author | Daniel Gultsch <daniel@gultsch.de> | 2016-02-01 14:22:52 +0100 |
---|---|---|
committer | Daniel Gultsch <daniel@gultsch.de> | 2016-02-01 14:22:52 +0100 |
commit | 3978c0478244ca1540d41ffc9185961b366ba540 (patch) | |
tree | 021e58a030f2611d57681c40f4b3e9e985f24164 /src/main/java/eu/siacs | |
parent | 1e7647e385a55598843f80fe39fadeda64295f87 (diff) |
respect autojoin setting on newly created bookmarks as well
Diffstat (limited to '')
-rw-r--r-- | src/main/java/eu/siacs/conversations/ui/StartConversationActivity.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/eu/siacs/conversations/ui/StartConversationActivity.java b/src/main/java/eu/siacs/conversations/ui/StartConversationActivity.java index c46251c1..355ee93c 100644 --- a/src/main/java/eu/siacs/conversations/ui/StartConversationActivity.java +++ b/src/main/java/eu/siacs/conversations/ui/StartConversationActivity.java @@ -426,7 +426,7 @@ public class StartConversationActivity extends XmppActivity implements OnRosterU jid.setError(getString(R.string.bookmark_already_exists)); } else { final Bookmark bookmark = new Bookmark(account, conferenceJid.toBareJid()); - bookmark.setAutojoin(true); + bookmark.setAutojoin(getPreferences().getBoolean("autojoin", true)); String nick = conferenceJid.getResourcepart(); if (nick != null && !nick.isEmpty()) { bookmark.setNick(nick); |