diff sat/core/sat_main.py @ 2689:d715d912afac

plugin XEP-0199: implementation of XMPP Ping
author Goffi <goffi@goffi.org>
date Sat, 10 Nov 2018 10:16:38 +0100
parents 943e78e18882
children 1ecceac3df96
line wrap: on
line diff
--- a/sat/core/sat_main.py	Sat Nov 10 10:16:38 2018 +0100
+++ b/sat/core/sat_main.py	Sat Nov 10 10:16:38 2018 +0100
@@ -606,7 +606,10 @@
     def getSessionInfos(self, profile_key):
         """compile interesting data on current profile session"""
         client = self.getClient(profile_key)
-        data = {"jid": client.jid.full(), "started": unicode(int(client.started))}
+        data = {
+            "jid": client.jid.full(),
+            "started": unicode(int(client.started))
+            }
         return defer.succeed(data)
 
     # local dirs