Welcome to mirror list, hosted at ThFree Co, Russian Federation.

dev.gajim.org/gajim/gajim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYann Leboulanger <asterix@lagaule.org>2011-08-28 00:41:55 +0400
committerYann Leboulanger <asterix@lagaule.org>2011-08-28 00:41:55 +0400
commit98432f6666167a15443726a453a5602fdb0f30de (patch)
tree07a528eca487cebf2131349d23d9350f6bc1c7a7 /src/session.py
parent36af66b063c44a5cf159b4d85375fc97d41f792f (diff)
cean chatstate code: remove XEP-0022 support and use caps to know if a contact supports it
Diffstat (limited to 'src/session.py')
-rw-r--r--src/session.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/session.py b/src/session.py
index 158bb974a..9f00b53e6 100644
--- a/src/session.py
+++ b/src/session.py
@@ -116,8 +116,6 @@ class ChatControlSession(stanza_session.EncryptedStanzaSession):
contact = gajim.contacts.get_contact(self.conn.name, obj.jid,
obj.resource)
if contact:
- if contact.composing_xep != 'XEP-0085': # We cache xep85 support
- contact.composing_xep = obj.composing_xep
if self.control and self.control.type_id == \
message_control.TYPE_CHAT:
if obj.chatstate is not None:
@@ -169,7 +167,7 @@ class ChatControlSession(stanza_session.EncryptedStanzaSession):
gajim.interface.remote_ctrl.raise_signal('NewMessage', (
self.conn.name, [obj.fjid, obj.msgtxt, obj.timestamp,
obj.encrypted, obj.mtype, obj.subject, obj.chatstate, msg_id,
- obj.composing_xep, obj.user_nick, obj.xhtml, obj.form_node]))
+ obj.user_nick, obj.xhtml, obj.form_node]))
def roster_message2(self, obj):
"""