changeset 12265:f82b6d559ea7

[gaim-migrate @ 14567] sean noticed that i'm dumb committer: Tailor Script <tailor@pidgin.im>
author Nathan Walp <nwalp@pidgin.im>
date Tue, 29 Nov 2005 23:59:36 +0000
parents 2be62353f708
children 0e467757b57a
files src/protocols/jabber/presence.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/protocols/jabber/presence.c	Tue Nov 29 23:50:39 2005 +0000
+++ b/src/protocols/jabber/presence.c	Tue Nov 29 23:59:36 2005 +0000
@@ -119,8 +119,6 @@
 	presence = jabber_presence_create(state, stripped, priority);
 	g_free(stripped);
 
-	jabber_send(js, presence);
-
 	if(js->avatar_hash) {
 		x = xmlnode_new_child(presence, "x");
 		xmlnode_set_attrib(x, "xmlns", "vcard-temp:x:update");
@@ -128,6 +126,8 @@
 		xmlnode_insert_data(photo, js->avatar_hash, -1);
 	}
 
+	jabber_send(js, presence);
+
 	g_hash_table_foreach(js->chats, chats_send_presence_foreach, presence);
 	xmlnode_free(presence);