summaryrefslogtreecommitdiff
path: root/src/core.py
diff options
context:
space:
mode:
authormathieui <mathieui@mathieui.net>2011-05-14 15:45:30 +0200
committermathieui <mathieui@mathieui.net>2011-05-14 15:45:30 +0200
commit423a7d14472412b9dd9156c4c40102149858bc69 (patch)
treef5af09210a599f84135597bcc4f1c9e1e61dcbd8 /src/core.py
parentc55f1991438a891208b352a36ea15c2d8dc321c9 (diff)
downloadpoezio-423a7d14472412b9dd9156c4c40102149858bc69.tar.gz
poezio-423a7d14472412b9dd9156c4c40102149858bc69.tar.bz2
poezio-423a7d14472412b9dd9156c4c40102149858bc69.tar.xz
poezio-423a7d14472412b9dd9156c4c40102149858bc69.zip
Fixes #2177, and fixes chatstates a bit
Diffstat (limited to 'src/core.py')
-rw-r--r--src/core.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/core.py b/src/core.py
index ce95e310..8e0d56ce 100644
--- a/src/core.py
+++ b/src/core.py
@@ -951,8 +951,6 @@ class Core(object):
room_from = message.getMucroom()
if message['type'] == 'error': # Check if it's an error
return self.room_error(message, from_room)
- if nick_from == room_from:
- nick_from = None
room = self.get_room_by_name(room_from)
tab = self.get_tab_by_name(room_from, tabs.MucTab)
if tab and tab.get_room() and tab.get_room().get_user_by_name(nick_from) and\