only print esession details once when opening a chat

This commit is contained in:
Brendan Taylor 2008-09-28 01:16:13 +00:00
parent 7e5b9ab20d
commit 53e6204071
1 changed files with 0 additions and 3 deletions

View File

@ -2412,9 +2412,6 @@ class ChatControl(ChatControlBase):
jid_with_resource += '/' + self.resource jid_with_resource += '/' + self.resource
events = gajim.events.get_events(self.account, jid_with_resource) events = gajim.events.get_events(self.account, jid_with_resource)
if hasattr(self, 'session') and self.session and self.session.enable_encryption:
self.print_esession_details()
# list of message ids which should be marked as read # list of message ids which should be marked as read
message_ids = [] message_ids = []
for event in events: for event in events: