Mercurial > pidgin
comparison libpurple/protocols/jabber/presence.c @ 28517:96ba7fd24177
jabber: Use purple_connection_get_prpl() instead of jabber_plugin.
author | Paul Aurich <paul@darkrain42.org> |
---|---|
date | Fri, 06 Nov 2009 09:13:28 +0000 |
parents | d1c18bd588e2 |
children | 9ae3e70a327b e77894113a14 |
comparison
equal
deleted
inserted
replaced
28516:cfcdf15459a5 | 28517:96ba7fd24177 |
---|---|
516 type = xmlnode_get_attrib(packet, "type"); | 516 type = xmlnode_get_attrib(packet, "type"); |
517 | 517 |
518 jb = jabber_buddy_find(js, from, TRUE); | 518 jb = jabber_buddy_find(js, from, TRUE); |
519 g_return_if_fail(jb != NULL); | 519 g_return_if_fail(jb != NULL); |
520 | 520 |
521 signal_return = GPOINTER_TO_INT(purple_signal_emit_return_1(jabber_plugin, | 521 signal_return = GPOINTER_TO_INT(purple_signal_emit_return_1(purple_connection_get_prpl(js->gc), |
522 "jabber-receiving-presence", js->gc, type, from, packet)); | 522 "jabber-receiving-presence", js->gc, type, from, packet)); |
523 if (signal_return) | 523 if (signal_return) |
524 return; | 524 return; |
525 | 525 |
526 jid = jabber_id_new(from); | 526 jid = jabber_id_new(from); |