Mercurial > libervia-backend
comparison 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 |
comparison
equal
deleted
inserted
replaced
2688:943e78e18882 | 2689:d715d912afac |
---|---|
604 return self.ns_map | 604 return self.ns_map |
605 | 605 |
606 def getSessionInfos(self, profile_key): | 606 def getSessionInfos(self, profile_key): |
607 """compile interesting data on current profile session""" | 607 """compile interesting data on current profile session""" |
608 client = self.getClient(profile_key) | 608 client = self.getClient(profile_key) |
609 data = {"jid": client.jid.full(), "started": unicode(int(client.started))} | 609 data = { |
610 "jid": client.jid.full(), | |
611 "started": unicode(int(client.started)) | |
612 } | |
610 return defer.succeed(data) | 613 return defer.succeed(data) |
611 | 614 |
612 # local dirs | 615 # local dirs |
613 | 616 |
614 def getLocalPath(self, client, dir_name, *extra_path, **kwargs): | 617 def getLocalPath(self, client, dir_name, *extra_path, **kwargs): |