plugins/jabber/jabber.c

changeset 1784
d9cf36e07162
parent 1778
309a20c5dc27
child 1787
5ddd675a782c
--- 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);
 		}
 

mercurial