mirror of
https://git.jabber.space/devs/cproof.git
synced 2026-07-24 15:56:21 +00:00
Display bookmark name
Have field in struct and display the name in `/bookmark list`. Regards https://github.com/profanity-im/profanity/issues/697
This commit is contained in:
@@ -696,7 +696,11 @@ cons_show_bookmarks(const GList *list)
|
||||
if (muc_active(item->barejid) && roomwin) {
|
||||
presence_colour = THEME_ONLINE;
|
||||
}
|
||||
win_print(console, presence_colour, "-", " %s", item->barejid);
|
||||
if (item->name) {
|
||||
win_print(console, presence_colour, "-", " %s - %s", item->name, item->barejid);
|
||||
} else {
|
||||
win_print(console, presence_colour, "-", " %s", item->barejid);
|
||||
}
|
||||
if (item->nick) {
|
||||
win_append(console, presence_colour, "/%s", item->nick);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user