plugin XEP-0199: implementation of XMPP Ping
This commit is contained in:
parent
d590de6373
commit
3a07122da9
1 changed files with 178 additions and 11 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue