changeset 1784:cf7806e63d0c

[gaim-migrate @ 1794] 01101000 01101001 committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Mon, 30 Apr 2001 19:09:22 +0000
parents 950a3e2be27d
children f4ae086c746b
files plugins/jabber/jabber.c
diffstat 1 files changed, 8 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/plugins/jabber/jabber.c	Mon Apr 30 18:52:47 2001 +0000
+++ b/plugins/jabber/jabber.c	Mon Apr 30 19:09:22 2001 +0000
@@ -529,9 +529,12 @@
 			type = xmlnode_get_attrib(xmlns, "xmlns");
 
 		from = jid_full(p->from);
+		/*
 		if ((y = xmlnode_get_tag(p->x, "html"))) {
 			msg = xmlnode_get_data(y);
-		} else if ((y = xmlnode_get_tag(p->x, "body"))) {
+		} else
+		*/
+		if ((y = xmlnode_get_tag(p->x, "body"))) {
 			msg = xmlnode_get_data(y);
 		}
 
@@ -579,9 +582,12 @@
 		static int i = 0;
 		from = jid_full(p->from);
 
+		/*
 		if ((y = xmlnode_get_tag(p->x, "html"))) {
 			msg = xmlnode_get_data(y);
-		} else if ((y = xmlnode_get_tag(p->x, "body"))) {
+		} else
+		*/
+		if ((y = xmlnode_get_tag(p->x, "body"))) {
 			msg = xmlnode_get_data(y);
 		}