Mercurial > hg
changeset 459:8827bbef84a1
Show if we are inside/outside a MUC room
author | Mikael Berthe <mikael@lilotux.net> |
---|---|
date | Tue, 27 Sep 2005 23:46:11 +0200 |
parents | 33dc3ca6e9ca |
children | b1910d8821ab |
files | mcabber/src/screen.c |
diffstat | 1 files changed, 6 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/mcabber/src/screen.c Tue Sep 27 21:59:07 2005 +0200 +++ b/mcabber/src/screen.c Tue Sep 27 23:46:11 2005 +0200 @@ -750,7 +750,12 @@ wattrset(rosterWnd, COLOR_PAIR(COLOR_BD_DES)); } - if (ismuc) status = 'C'; + if (ismuc) { + if (buddy_getresources(BUDDATA(buddy))) + status = 'C'; + else + status = 'x'; + } strncpy(name, buddy_getname(BUDDATA(buddy)), ROSTER_WIDTH-7); if (isgrp) {