diff options
author | James Booth <boothj5@gmail.com> | 2014-09-30 19:46:35 +0100 |
---|---|---|
committer | James Booth <boothj5@gmail.com> | 2014-09-30 19:46:35 +0100 |
commit | 0365e88b7b461123f213beea43a9f55524bd9688 (patch) | |
tree | 3692a3a276e5e30229aa2640c0c4aec024e277f5 /src/ui/window.c | |
parent | b7088363e66d0ee2e00c807b81a5abbdc0c5275f (diff) | |
download | profani-tty-0365e88b7b461123f213beea43a9f55524bd9688.tar.gz |
wip - Store roles and affiliations with occupants
Diffstat (limited to 'src/ui/window.c')
-rw-r--r-- | src/ui/window.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ui/window.c b/src/ui/window.c index 3e972b88..4a922c59 100644 --- a/src/ui/window.c +++ b/src/ui/window.c @@ -202,6 +202,8 @@ win_show_occupant_info(ProfWin *window, const char * const room, Occupant *occup win_save_newline(window); + win_save_vprint(window, '-', NULL, NO_DATE, 0, "", "Role: %s, Affiliation: %s", occupant->role, occupant->affiliation); + Jid *jidp = jid_create_from_bare_and_resource(room, occupant->nick); Capabilities *caps = caps_lookup(jidp->fulljid); |