Mercurial > ~mikael > mcabber > hg
comparison mcabber/src/jabglue.c @ 606:0b4ed231ebc2
Code cleanup + remove deprecated Agents list IQ request
author | Mikael Berthe <mikael@lilotux.net> |
---|---|
date | Thu, 15 Dec 2005 15:40:21 +0100 |
parents | 9516db839e08 |
children | 85648a0f963e |
comparison
equal
deleted
inserted
replaced
605:2a4fefb98511 | 606:0b4ed231ebc2 |
---|---|
1247 } | 1247 } |
1248 } else if (!strcmp(type, "unsubscribe")) { | 1248 } else if (!strcmp(type, "unsubscribe")) { |
1249 x = jutil_presnew(JPACKET__UNSUBSCRIBED, from, 0); | 1249 x = jutil_presnew(JPACKET__UNSUBSCRIBED, from, 0); |
1250 jab_send(jc, x); | 1250 jab_send(jc, x); |
1251 xmlnode_free(x); | 1251 xmlnode_free(x); |
1252 scr_LogPrint(LPRINT_LOGNORM, "<%s> has unsubscribed to " | 1252 scr_LogPrint(LPRINT_LOGNORM, "<%s> wants to unsubscribe from " |
1253 "your presence updates", from); | 1253 "your presence updates", from); |
1254 } else if (!strcmp(type, "subscribed")) { | 1254 } else if (!strcmp(type, "subscribed")) { |
1255 scr_LogPrint(LPRINT_LOGNORM, "<%s> has subscribed to your presence " | 1255 scr_LogPrint(LPRINT_LOGNORM, "<%s> has subscribed to your presence " |
1256 "updates", from); | 1256 "updates", from); |
1257 } else if (!strcmp(type, "unsubscribed")) { | 1257 } else if (!strcmp(type, "unsubscribed")) { |