]> code.delx.au - pymsnt/blobdiff - src/legacy/glue.py
Committed Remko's patches (env & typing notification fix)
[pymsnt] / src / legacy / glue.py
index 4c84a12209408eaa4f6446d6f54ae2ef4f8c4823..ff56545d8e3e360048ae27cd43bc17e6a2afe5d5 100644 (file)
@@ -394,6 +394,8 @@ class LegacyConnection(msn.MSNConnection):
        def gotMessage(self, remoteUser, text):
                LogEvent(INFO, self.jabberID)
                source = msn2jid(remoteUser, True)
+               if self.contactTyping.has_key(remoteUser):
+                       del self.contactTyping[remoteUser]
                self.session.sendMessage(self.jabberID, fro=source, body=text, mtype="chat")
                self.session.pytrans.statistics.stats["MessageCount"] += 1