Philipp Hörist pushed to branch master at gajim / python-nbxmpp
Commits: 3e5e6efc by lovetox at 2020-03-22T21:51:41+01:00 Client: Add property custom_host
- - - - -
1 changed file:
- nbxmpp/client.py
Changes:
===================================== nbxmpp/client.py ===================================== @@ -167,6 +167,10 @@ class Client(Observable): def set_mode(self, mode): self._mode = mode
+ @property + def custom_host(self): + return self._custom_host + def set_custom_host(self, host, protocol, type_): if self._domain is None: raise ValueError('Call set_domain() first before set_custom_host()')
View it on GitLab: https://dev.gajim.org/gajim/python-nbxmpp/-/commit/3e5e6efc2a6169266ff3307bb...