diff options
author | Michael Vetter <jubalh@iodoru.org> | 2020-05-22 14:18:20 +0200 |
---|---|---|
committer | Michael Vetter <jubalh@iodoru.org> | 2020-05-22 14:18:20 +0200 |
commit | 88c36745fe3f568f09fcd4078fc760a52e826eb7 (patch) | |
tree | 3689d6661dae93788c394e93acc64cbf4f385052 /src/event | |
parent | fad296b79e42a0df6c0f118e1c011f480462551f (diff) | |
download | profani-tty-88c36745fe3f568f09fcd4078fc760a52e826eb7.tar.gz |
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
Diffstat (limited to 'src/event')
-rw-r--r-- | src/event/server_events.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); } |