Merge branch 'develop' into exceptions

This commit is contained in:
Lance Stout
2011-06-20 16:27:39 -07:00
3 changed files with 38 additions and 6 deletions

View File

@@ -97,7 +97,7 @@ class Message(RootStanza):
clear -- Indicates if existing content should be removed
before replying. Defaults to True.
"""
StanzaBase.reply(self)
StanzaBase.reply(self, clear)
if self['type'] == 'groupchat':
self['to'] = self['to'].bare