Changeset 9774
- Timestamp:
- 06/08/08 18:54:59 (6 months ago)
- Files:
-
- 1 modified
-
trunk/src/chat_control.py (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/chat_control.py
r9772 r9774 620 620 ''' 621 621 if not message or message == '\n': 622 return 1622 return None 623 623 624 624 ret = None … … 1454 1454 '''Send a message to contact''' 1455 1455 if message in ('', None, '\n') or self._process_command(message): 1456 return 1456 return None 1457 1457 1458 1458 # Do we need to process command for the message ? … … 1505 1505 self._schedule_activity_timers() 1506 1506 1507 ChatControlBase.send_message(self, message, keyID,1508 type = 'chat', chatstate = chatstate_to_send,1509 composing_xep = composing_xep,1510 process_command = process_command)1511 self.print_conversation(message, self.contact.jid,1512 encrypted = encrypted)1507 if ChatControlBase.send_message(self, message, keyID, 1508 type = 'chat', chatstate = chatstate_to_send, 1509 composing_xep = composing_xep, 1510 process_command = process_command): 1511 self.print_conversation(message, self.contact.jid, 1512 encrypted = encrypted) 1513 1513 1514 1514 def check_for_possible_paused_chatstate(self, arg):
