changeset 29627:2b52480439ee

jabber: Ofcourse we should only associate non-ephemeral BoBs, not the other way around...
author Marcus Lundblad <ml@update.uu.se>
date Sun, 21 Mar 2010 19:59:24 +0000
parents fce17268c9ec
children bab8917b8b5c d6af24bcf107
files libpurple/protocols/jabber/data.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/protocols/jabber/data.c	Sun Mar 21 19:39:40 2010 +0000
+++ b/libpurple/protocols/jabber/data.c	Sun Mar 21 19:59:24 2010 +0000
@@ -202,7 +202,7 @@
 		JabberData *data = jabber_data_create_from_xml(data_element);
 
 		if (data) {
-			if (ephemeral) {
+			if (!ephemeral) {
 				jabber_data_associate_remote(data);
 			}
 			/* TODO: validate hash */