Do not set last activity when sending a stanza because it makes no sense

This commit is contained in:
mathieui 2012-08-03 17:34:39 +02:00
parent 0b8211fe28
commit 7826511abb

View file

@ -2642,7 +2642,6 @@ class Core(object):
"""
We are sending a new stanza, write it in the xml buffer if needed.
"""
self.xmpp.plugin['xep_0012'].set_last_activity()
if self.xml_tabs:
self.add_message_to_text_buffer(self.xml_buffer, '\x191}<--\x19o %s' % stanza)
if isinstance(self.current_tab(), tabs.XMLTab):