Mercurial > pidgin
diff libpurple/protocols/jabber/iq.c @ 26951:10c91922bc1e
Support pushed notifications about XEP-0191 Blocks/Unblocks. Closes #8045.
Recompiling jabberd2 from scratch magically made the pushes work, so I was
able to test this and it works, except for causing a crash in jabberd2 that
Mark already fixed. :)
author | Paul Aurich <paul@darkrain42.org> |
---|---|
date | Tue, 26 May 2009 23:44:55 +0000 |
parents | 92565c8e1e3a |
children | add3989f682e |
line wrap: on
line diff
--- a/libpurple/protocols/jabber/iq.c Mon May 25 20:13:01 2009 +0000 +++ b/libpurple/protocols/jabber/iq.c Tue May 26 23:44:55 2009 +0000 @@ -495,6 +495,8 @@ jabber_iq_register_handler("session", "http://www.google.com/session", jabber_google_session_parse); #endif + jabber_iq_register_handler("block", "urn:xmpp:blocking", jabber_blocklist_parse_push); + jabber_iq_register_handler("unblock", "urn:xmpp:blocking", jabber_blocklist_parse_push); jabber_iq_register_handler("time", "urn:xmpp:time", jabber_iq_time_parse); }