changeset 2478:0242ded135e9

Merge devel.
author Karol 'grzywacz' Nowak <grzywacz@sul.uni.lodz.pl>
date Fri, 20 Jul 2007 22:05:38 +0200
parents 8a118b01df5a (current diff) 76f87ae87759 (diff)
children 7131fda5e82d
files
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/jabberbot/xmppbot.py	Fri Jul 20 22:04:55 2007 +0200
+++ b/jabberbot/xmppbot.py	Fri Jul 20 22:05:38 2007 +0200
@@ -204,8 +204,6 @@
         @param ignore_dnd: if command results in user interaction, should DnD be ignored?
 
         """
-        _ = self.getText(command.jid)
-        
         # Handle normal notifications
         if isinstance(command, cmd.NotificationCommand):
             for recipient in command.jids:
@@ -225,6 +223,8 @@
 
                 self.send_message(jid, text)
 
+        _ = self.getText(command.jid)
+
         # Handle subscribtion management commands
         if isinstance(command, cmd.AddJIDToRosterCommand):
             jid = JID(node_or_jid=command.jid)