Skip to content

Commit

Permalink
fix regresion that switch incoming/outgoing messages
Browse files Browse the repository at this point in the history
  • Loading branch information
Jose Rostagno committed Sep 12, 2011
1 parent 26e3ee2 commit 76a0415
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions emesene/gui/base/Conversation.py
Expand Up @@ -403,7 +403,7 @@ def _on_send_message(self, text):
message = e3.Message(e3.Message.TYPE_MESSAGE, text, None, self.cstyle)

msg = self._pre_process_message(self.session.contacts.me,
message, True, cedict, self.emcache.path, message.timestamp,
message, False, cedict, self.emcache.path, message.timestamp,
message.type, self.cstyle)

self.output.send_message(self.formatter, msg)
Expand All @@ -428,7 +428,7 @@ def on_receive_message(self, message, account, received_custom_emoticons):
user_emcache = self.caches.get_emoticon_cache(account)

msg = self._pre_process_message(contact,
message, False, received_custom_emoticons, user_emcache.path,
message, True, received_custom_emoticons, user_emcache.path,
message.timestamp, message.type, message.style)

self.output.receive_message(self.formatter, msg)
Expand Down

0 comments on commit 76a0415

Please sign in to comment.