Mercurial > ~mikael > mcabber > hg
comparison mcabber/src/hooks.c @ 572:afc2bd38b15c
Implement affiliations handling, add "/room whois"
author | Mikael Berthe <mikael@lilotux.net> |
---|---|
date | Sat, 03 Dec 2005 23:40:40 +0100 |
parents | 6f490c725999 |
children | 8b3db0b555a1 |
comparison
equal
deleted
inserted
replaced
571:d63e6cbdc297 | 572:afc2bd38b15c |
---|---|
211 scr_WriteIncomingMessage(jid, bn, 0, HBB_PREFIX_INFO|HBB_PREFIX_NOFLAG); | 211 scr_WriteIncomingMessage(jid, bn, 0, HBB_PREFIX_INFO|HBB_PREFIX_NOFLAG); |
212 g_free(bn); | 212 g_free(bn); |
213 } | 213 } |
214 } | 214 } |
215 | 215 |
216 roster_setstatus(jid, rn, prio, status, status_msg, role_none, NULL); | 216 roster_setstatus(jid, rn, prio, status, status_msg, role_none, affil_none, |
217 NULL); | |
217 buddylist_build(); | 218 buddylist_build(); |
218 scr_DrawRoster(); | 219 scr_DrawRoster(); |
219 hlog_write_status(jid, 0, status, status_msg); | 220 hlog_write_status(jid, 0, status, status_msg); |
220 // External command | 221 // External command |
221 hk_ext_cmd(jid, 'S', imstatus2char[status], NULL); | 222 hk_ext_cmd(jid, 'S', imstatus2char[status], NULL); |