changeset 17630:7cc4c6c73a06

XEP-0004 says that if no field type is specified, text-single should be assumed.
author Andreas Monitzer <pidgin@monitzer.com>
date Wed, 11 Jul 2007 01:22:24 +0000
parents ce04ca030a1b
children 49fe31a64716
files libpurple/protocols/jabber/xdata.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/protocols/jabber/xdata.c	Wed Jul 11 00:32:39 2007 +0000
+++ b/libpurple/protocols/jabber/xdata.c	Wed Jul 11 01:22:24 2007 +0000
@@ -225,7 +225,7 @@
 		char *value = NULL;
 
 		if(!type)
-			continue;
+			type = "text-single";
 
 		if(!var && strcmp(type, "fixed"))
 			continue;