diff libpurple/protocols/jabber/usermood.c @ 29467:65004796201d

Actually set the mood when creating a presence update when receiving mood PEP. Fixed some erronious pixmap references
author Marcus Lundblad <ml@update.uu.se>
date Tue, 09 Feb 2010 21:34:38 +0000
parents f3654983e1da
children 7e150a194aef
line wrap: on
line diff
--- a/libpurple/protocols/jabber/usermood.c	Tue Feb 09 20:14:10 2010 +0000
+++ b/libpurple/protocols/jabber/usermood.c	Tue Feb 09 21:34:38 2010 +0000
@@ -160,7 +160,7 @@
 	}
 	if (newmood != NULL) {
 		purple_prpl_got_user_status(js->gc->account, from, "mood",
-				PURPLE_MOOD_NAME, mood,
+				PURPLE_MOOD_NAME, newmood,
 				PURPLE_MOOD_COMMENT, moodtext,
 				NULL);
 	} else {