# HG changeset patch # User Nathan Walp # Date 1094080699 0 # Node ID 7101987a49c8eabf1c8f12d593ea64c36003bfa8 # Parent 45a49b01dc03bf4f34f91576768104798bc3c3f1 [gaim-migrate @ 10823] use the "founder" icon in jabber chats. This is "owner" in jabber terminology committer: Tailor Script diff -r 45a49b01dc03 -r 7101987a49c8 src/protocols/jabber/presence.c --- a/src/protocols/jabber/presence.c Wed Sep 01 02:03:09 2004 +0000 +++ b/src/protocols/jabber/presence.c Wed Sep 01 23:18:19 2004 +0000 @@ -300,11 +300,13 @@ real_jid = xmlnode_get_attrib(z, "jid"); affiliation = xmlnode_get_attrib(z, "affiliation"); role = xmlnode_get_attrib(z, "role"); + if(affiliation != NULL && !strcmp(affiliation, "owner")) + flags |= GAIM_CBFLAGS_FOUNDER; if (role != NULL) { if (!strcmp(role, "moderator")) - flags = GAIM_CBFLAGS_OP; + flags |= GAIM_CBFLAGS_OP; else if (!strcmp(role, "participant")) - flags = GAIM_CBFLAGS_VOICE; + flags |= GAIM_CBFLAGS_VOICE; } } }