plugin XEP-0199: implementation of XMPP Ping

This commit is contained in:
Goffi 2018-11-10 10:16:38 +01:00
commit 3a07122da9

View file

@ -606,7 +606,10 @@ class SAT(service.Service):
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