Mercurial > pidgin
comparison libpurple/protocols/jabber/libxmpp.c @ 26485:242a8c97270b
propagate from branch 'im.pidgin.pidgin' (head f144c6bda9daf701aa891c875fce7a4dedd611ae)
to branch 'im.pidgin.cpw.darkrain42.xmpp.avatars' (head 94d20f2f1d6e10ad1543c226dc01fb5c518bcea0)
author | Paul Aurich <paul@darkrain42.org> |
---|---|
date | Sun, 05 Apr 2009 21:49:01 +0000 |
parents | 7e020fbe2cdb 6f0200f1e497 |
children | 3912f55a1633 |
comparison
equal
deleted
inserted
replaced
26278:14e1f9af369f | 26485:242a8c97270b |
---|---|
117 jabber_unregister_account, /* unregister_user */ | 117 jabber_unregister_account, /* unregister_user */ |
118 jabber_send_attention, /* send_attention */ | 118 jabber_send_attention, /* send_attention */ |
119 jabber_attention_types, /* attention_types */ | 119 jabber_attention_types, /* attention_types */ |
120 | 120 |
121 sizeof(PurplePluginProtocolInfo), /* struct_size */ | 121 sizeof(PurplePluginProtocolInfo), /* struct_size */ |
122 NULL | 122 NULL, /* get_account_text_table */ |
123 jabber_initiate_media, /* initiate_media */ | |
124 jabber_get_media_caps, /* get_media_caps */ | |
123 }; | 125 }; |
124 | 126 |
125 static gboolean load_plugin(PurplePlugin *plugin) | 127 static gboolean load_plugin(PurplePlugin *plugin) |
126 { | 128 { |
127 purple_signal_register(plugin, "jabber-receiving-xmlnode", | 129 purple_signal_register(plugin, "jabber-receiving-xmlnode", |
291 jabber_add_feature("buzz", XEP_0224_NAMESPACE, | 293 jabber_add_feature("buzz", XEP_0224_NAMESPACE, |
292 jabber_buzz_isenabled); | 294 jabber_buzz_isenabled); |
293 jabber_add_feature("bob", XEP_0231_NAMESPACE, | 295 jabber_add_feature("bob", XEP_0231_NAMESPACE, |
294 jabber_custom_smileys_isenabled); | 296 jabber_custom_smileys_isenabled); |
295 jabber_add_feature("ibb", XEP_0047_NAMESPACE, NULL); | 297 jabber_add_feature("ibb", XEP_0047_NAMESPACE, NULL); |
298 | |
299 #ifdef USE_VV | |
300 jabber_add_feature("voice-v1", "http://www.xmpp.org/extensions/xep-0167.html#ns", NULL); | |
301 #endif | |
296 } | 302 } |
297 | 303 |
298 | 304 |
299 PURPLE_INIT_PLUGIN(jabber, init_plugin, info); | 305 PURPLE_INIT_PLUGIN(jabber, init_plugin, info); |