Add option to add bookmark name
`/bookmark add|update` got `name` field. By default localpart of JID is used (like before) but now we can set the name ourselves. Regards https://github.com/profanity-im/profanity/issues/697
This commit is contained in:
@@ -1139,7 +1139,7 @@ sv_ev_muc_self_online(const char *const room, const char *const nick, gboolean c
|
||||
|
||||
if (muc_invites_contain(room)) {
|
||||
if (prefs_get_boolean(PREF_BOOKMARK_INVITE) && !bookmark_exists(room)) {
|
||||
bookmark_add(room, nick, muc_invite_password(room), "on");
|
||||
bookmark_add(room, nick, muc_invite_password(room), "on", NULL);
|
||||
}
|
||||
muc_invites_remove(room);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user