mirror of
https://github.com/moparisthebest/Conversations
synced 2024-11-05 00:35:01 -05:00
respect autojoin setting on newly created bookmarks as well
This commit is contained in:
parent
1e7647e385
commit
3978c04782
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user