changeset 2696:89c40244fa6a

Don't add the warning to messages with data forms. It can be shown with the form.
author Karol Nowak <grzywacz@sul.uni.lodz.pl>
date Sat, 18 Aug 2007 02:38:36 +0200
parents 724b6b93f2f9
children 80cf17344f98
files jabberbot/xmppbot.py
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/jabberbot/xmppbot.py	Sat Aug 18 02:36:03 2007 +0200
+++ b/jabberbot/xmppbot.py	Sat Aug 18 02:38:36 2007 +0200
@@ -560,8 +560,7 @@
 
         _ = self.get_text(JID(jid).bare().as_unicode())
 
-        warning = _("If you see this, your client probably doesn't support Data Forms.")
-        message = Message(to_jid=jid, body=warning, subject=subject)
+        message = Message(to_jid=jid, subject=subject)
         message.add_content(form)
 
         if url_list: