mirror of
https://git.jabber.space/devs/cproof.git
synced 2026-07-27 22:36:22 +00:00
Show handle rather than jid in /who output if exists
This commit is contained in:
@@ -124,10 +124,11 @@ win_show_contact(ProfWin *window, PContact contact)
|
|||||||
|
|
||||||
win_print_time(window, '-');
|
win_print_time(window, '-');
|
||||||
win_presence_colour_on(window, presence);
|
win_presence_colour_on(window, presence);
|
||||||
wprintw(window->win, "%s", barejid);
|
|
||||||
|
|
||||||
if (name != NULL) {
|
if (name != NULL) {
|
||||||
wprintw(window->win, " (%s)", name);
|
wprintw(window->win, "%s", name);
|
||||||
|
} else {
|
||||||
|
wprintw(window->win, "%s", barejid);
|
||||||
}
|
}
|
||||||
|
|
||||||
wprintw(window->win, " is %s", presence);
|
wprintw(window->win, " is %s", presence);
|
||||||
|
|||||||
Reference in New Issue
Block a user