only print esession details once when opening a chat
This commit is contained in:
parent
7e5b9ab20d
commit
53e6204071
|
@ -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:
|
||||||
|
|
Loading…
Reference in New Issue