From c0074f95b160f4766168ed2cae955709bf38d124 Mon Sep 17 00:00:00 2001 From: Lance Stout Date: Wed, 11 Jan 2012 16:39:55 -0800 Subject: update_caps() can now do presence broadcasting. As part of adding this feature: - fixed bug in update_caps() not assigning verstrings - fixed xep_0004 typo - can now use None as a roster key which will map to boundjid.bare - fixed using JID objects in disco node handlers - fixed failing test related to get_roster Several of these bugs I've fixed before, so I either didn't push them earlier, or I clobbered something when merging. *shrug* --- sleekxmpp/plugins/xep_0004/stanza/field.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sleekxmpp/plugins/xep_0004/stanza/field.py') diff --git a/sleekxmpp/plugins/xep_0004/stanza/field.py b/sleekxmpp/plugins/xep_0004/stanza/field.py index 6814e157..8156997c 100644 --- a/sleekxmpp/plugins/xep_0004/stanza/field.py +++ b/sleekxmpp/plugins/xep_0004/stanza/field.py @@ -93,7 +93,7 @@ class FormField(ElementBase): if valXML.text is None: valXML.text = '' values.append(valXML.text) - if self._type == 'text-multi' and condense: + if self._type == 'text-multi' and convert: values = "\n".join(values) return values else: -- cgit v1.2.3