diff libpurple/protocols/jabber/libxmpp.c @ 29857:f3654983e1da

Implemented the get_moods prpl function for XMPP. Enables the generic mood chooser. Doesn't actually work yet...
author Marcus Lundblad <ml@update.uu.se>
date Mon, 08 Feb 2010 21:38:26 +0000
parents a0fb6798d87c
children 185677f47825
line wrap: on
line diff
--- a/libpurple/protocols/jabber/libxmpp.c	Sun Feb 07 22:53:36 2010 +0000
+++ b/libpurple/protocols/jabber/libxmpp.c	Mon Feb 08 21:38:26 2010 +0000
@@ -43,6 +43,7 @@
 #include "presence.h"
 #include "google.h"
 #include "pep.h"
+#include "usermood.h"
 #include "usertune.h"
 #include "caps.h"
 #include "data.h"
@@ -126,7 +127,7 @@
 	NULL, /* get_account_text_table */
 	jabber_initiate_media,          /* initiate_media */
 	jabber_get_media_caps,                  /* get_media_caps */
-	NULL  							/* get_moods */
+	jabber_get_moods  							/* get_moods */
 };
 
 static gboolean load_plugin(PurplePlugin *plugin)