Mercurial > pidgin
diff libpurple/protocols/jabber/jabber.c @ 17848:5fc8a8a25008
Implemented a mood menu action (non-functional right now for some reason)
author | Andreas Monitzer <pidgin@monitzer.com> |
---|---|
date | Wed, 13 Jun 2007 16:03:11 +0000 |
parents | 2f067d8fb19a |
children | e49b259fc7dd |
line wrap: on
line diff
--- a/libpurple/protocols/jabber/jabber.c Tue Jun 12 23:43:06 2007 +0000 +++ b/libpurple/protocols/jabber/jabber.c Wed Jun 13 16:03:11 2007 +0000 @@ -1443,6 +1443,8 @@ GList *jabber_actions(PurplePlugin *plugin, gpointer context) { + PurpleConnection *gc = (PurpleConnection *) context; + JabberStream *js = gc->proto_data; GList *m = NULL; PurplePluginAction *act; @@ -1459,6 +1461,9 @@ act = purple_plugin_action_new(_("Search for Users..."), jabber_user_search_begin); m = g_list_append(m, act); + + if(js->pep) + jabber_pep_init_actions(&m); return m; }