Mercurial > hg
diff mcabber/src/roster.c @ 141:6533a231a65e
[/trunk] Changeset 153 by mikael
* We now rebuild the buddy list when receiving a message from an
offline/invisible buddy.
author | mikael |
---|---|
date | Thu, 28 Apr 2005 20:34:40 +0000 |
parents | 81ccb1091dd8 |
children | 7571de4aed73 |
line wrap: on
line diff
--- a/mcabber/src/roster.c Thu Apr 28 20:11:31 2005 +0000 +++ b/mcabber/src/roster.c Thu Apr 28 20:34:40 2005 +0000 @@ -264,6 +264,14 @@ return roster_usr->type; } +inline guint roster_exists(const char *jidname, enum findwhat type, + guint roster_type) +{ + if (roster_find(jidname, type, roster_type)) + return TRUE; + return FALSE; +} + // char *roster_getgroup(...) / Or *GSList? Which use?? // ... setgroup(char*) ?? // guchar roster_getflags(...)