Mercurial > pidgin
comparison libpurple/protocols/jabber/usernick.c @ 25985:c4fd9222dda1
propagate from branch 'im.pidgin.pidgin' (head 303af74a38e7b313d4fb0be4d4054a16cb13d819)
to branch 'im.pidgin.cpw.darkrain42.xmpp.bosh' (head 650d82b8a5f0c8860804dd8004cd54badea48e1e)
author | Paul Aurich <paul@darkrain42.org> |
---|---|
date | Sat, 07 Mar 2009 01:59:40 +0000 |
parents | 5f9a24d1c25e 26eabe8e739b |
children | e816444c1a01 |
comparison
equal
deleted
inserted
replaced
25977:0e93bbb7f5ca | 25985:c4fd9222dda1 |
---|---|
90 jabber_pep_request_item(js, jid, "http://jabber.org/protocol/nick", NULL, do_nick_got_own_nick_cb); | 90 jabber_pep_request_item(js, jid, "http://jabber.org/protocol/nick", NULL, do_nick_got_own_nick_cb); |
91 g_free(jid); | 91 g_free(jid); |
92 } | 92 } |
93 | 93 |
94 void jabber_nick_init(void) { | 94 void jabber_nick_init(void) { |
95 jabber_add_feature("nick", "http://jabber.org/protocol/nick", jabber_pep_namespace_only_when_pep_enabled_cb); | 95 jabber_add_feature("http://jabber.org/protocol/nick", jabber_pep_namespace_only_when_pep_enabled_cb); |
96 jabber_pep_register_handler("nickn", "http://jabber.org/protocol/nick", jabber_nick_cb); | 96 jabber_pep_register_handler("http://jabber.org/protocol/nick", jabber_nick_cb); |
97 } | 97 } |
98 | 98 |
99 void jabber_nick_init_action(GList **m) { | 99 void jabber_nick_init_action(GList **m) { |
100 PurplePluginAction *act = purple_plugin_action_new(_("Set Nickname..."), do_nick_set_nick); | 100 PurplePluginAction *act = purple_plugin_action_new(_("Set Nickname..."), do_nick_set_nick); |
101 *m = g_list_append(*m, act); | 101 *m = g_list_append(*m, act); |