From 88c36745fe3f568f09fcd4078fc760a52e826eb7 Mon Sep 17 00:00:00 2001 From: Michael Vetter Date: Fri, 22 May 2020 14:18:20 +0200 Subject: 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 --- src/event/server_events.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/event') diff --git a/src/event/server_events.c b/src/event/server_events.c index 057af9bf..153618f2 100644 --- a/src/event/server_events.c +++ b/src/event/server_events.c @@ -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); } -- cgit 1.4.1-2-gfad0