Mercurial > hg
changeset 832:7c210263c661
Small scr_DrawRoster() fix
When we know the presence status of a user without being subscribed to their
presence updates, we can display it instead of '?'.
author | Mikael Berthe <mikael@lilotux.net> |
---|---|
date | Thu, 04 May 2006 10:44:55 +0200 |
parents | dd865cc57aa2 |
children | 63707a595c2e |
files | mcabber/src/screen.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/mcabber/src/screen.c Thu May 04 10:35:45 2006 +0200 +++ b/mcabber/src/screen.c Thu May 04 10:44:55 2006 +0200 @@ -1058,7 +1058,7 @@ char sepright = ']'; if (btype & ROSTER_TYPE_USER) { guint subtype = buddy_getsubscription(BUDDATA(buddy)); - if (!(subtype & sub_to)) + if (status == '_' && !(subtype & sub_to)) status = '?'; if (!(subtype & sub_from)) { sepleft = '{';