comparison sat_frontends/quick_frontend/quick_app.py @ 3130:b9486a7f9b4f

quick frontend (app): log own jid when received
author Goffi <goffi@goffi.org>
date Mon, 27 Jan 2020 19:53:31 +0100
parents 02492db1ce39
children 9d0df638c8b4
comparison
equal deleted inserted replaced
3129:95befc85e816 3130:b9486a7f9b4f
76 errback=self._getParamError, 76 errback=self._getParamError,
77 ) 77 )
78 78
79 def _plug_profile_jid(self, jid_s): 79 def _plug_profile_jid(self, jid_s):
80 self.whoami = jid.JID(jid_s) # resource might change after the connection 80 self.whoami = jid.JID(jid_s) # resource might change after the connection
81 log.info(f"Our current jid is: {self.whoami}")
81 self.bridge.isConnected(self.profile, callback=self._plug_profile_isconnected) 82 self.bridge.isConnected(self.profile, callback=self._plug_profile_isconnected)
82 83
83 def _autodisconnectEb(self, failure_): 84 def _autodisconnectEb(self, failure_):
84 # XXX: we ignore error on this parameter, as Libervia can't access it 85 # XXX: we ignore error on this parameter, as Libervia can't access it
85 log.warning( 86 log.warning(