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*
This commit is contained in:
Lance Stout
2012-01-11 16:39:55 -08:00
parent a79ce1c35e
commit c0074f95b1
7 changed files with 41 additions and 6 deletions

View File

@@ -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: