mirror of
https://github.com/Pardus-LiderAhenk/ahenk
synced 2024-11-22 05:02:15 +03:00
lider ejabberd resource parameter was added
This commit is contained in:
parent
06f65d0c35
commit
2eea107ccc
2 changed files with 4 additions and 2 deletions
|
@ -12,6 +12,7 @@ password=
|
|||
host = im.mys.pardus.org.tr
|
||||
port = 5222
|
||||
receiverjid = lider_sunucu
|
||||
receiverresource = Smack
|
||||
servicename = im.mys.pardus.org.tr
|
||||
fileserver =
|
||||
receivefileparam = /tmp/
|
||||
|
|
|
@ -27,14 +27,15 @@ class Messager(slixmpp.ClientXMPP):
|
|||
self.event_manger = scope.getEventManager()
|
||||
self.execution_manager = scope.getExecutionManager()
|
||||
|
||||
self.my_jid = str(self.configuration_manager.get('CONNECTION', 'uid') + '@' + self.configuration_manager.get('CONNECTION', 'servicename') + '/receiver')
|
||||
self.my_jid = str(self.configuration_manager.get('CONNECTION', 'uid') + '@' + self.configuration_manager.get('CONNECTION', 'servicename'))
|
||||
self.my_pass = str(self.configuration_manager.get('CONNECTION', 'password'))
|
||||
|
||||
slixmpp.ClientXMPP.__init__(self, self.my_jid, self.my_pass)
|
||||
|
||||
self.file = None
|
||||
self.hostname = self.configuration_manager.get('CONNECTION', 'host')
|
||||
self.receiver = self.configuration_manager.get('CONNECTION', 'receiverjid') + '@' + self.configuration_manager.get('CONNECTION', 'servicename') + '/Smack'
|
||||
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.receive_file_path = self.configuration_manager.get('CONNECTION', 'receivefileparam')
|
||||
self.logger.debug('[Messager] XMPP Messager parameters were set')
|
||||
|
||||
|
|
Loading…
Reference in a new issue