mirror of
https://github.com/Pardus-LiderAhenk/ahenk
synced 2024-11-25 21:42:21 +03:00
roster subscription parameters added
This commit is contained in:
parent
3650608a19
commit
6c54302c52
1 changed files with 3 additions and 0 deletions
|
@ -26,6 +26,9 @@ class Messenger(ClientXMPP):
|
||||||
|
|
||||||
ClientXMPP.__init__(self, self.my_jid, self.my_pass)
|
ClientXMPP.__init__(self, self.my_jid, self.my_pass)
|
||||||
|
|
||||||
|
self.auto_authorize = True
|
||||||
|
self.auto_subscribe = True
|
||||||
|
|
||||||
self.hostname = self.configuration_manager.get('CONNECTION', 'host')
|
self.hostname = self.configuration_manager.get('CONNECTION', 'host')
|
||||||
self.resource_name = self.configuration_manager.get('CONNECTION', 'receiverresource')
|
self.resource_name = self.configuration_manager.get('CONNECTION', 'receiverresource')
|
||||||
self.receiver = self.configuration_manager.get('CONNECTION', 'receiverjid') + '@' + self.configuration_manager.get('CONNECTION', 'servicename') + '/' + self.resource_name
|
self.receiver = self.configuration_manager.get('CONNECTION', 'receiverjid') + '@' + self.configuration_manager.get('CONNECTION', 'servicename') + '/' + self.resource_name
|
||||||
|
|
Loading…
Reference in a new issue