mirror of
https://github.com/Pardus-LiderAhenk/ahenk
synced 2024-11-29 07:22:20 +03:00
messager parameters fixed
This commit is contained in:
parent
e6cea55d4b
commit
9886080f81
1 changed files with 1 additions and 3 deletions
|
@ -10,7 +10,6 @@ import sys
|
||||||
import slixmpp
|
import slixmpp
|
||||||
|
|
||||||
sys.path.append('../..')
|
sys.path.append('../..')
|
||||||
from slixmpp.exceptions import IqError, IqTimeout
|
|
||||||
from base.Scope import Scope
|
from base.Scope import Scope
|
||||||
|
|
||||||
from base.messaging.FileTransfer import FileTransfer
|
from base.messaging.FileTransfer import FileTransfer
|
||||||
|
@ -36,8 +35,7 @@ class Messager(slixmpp.ClientXMPP):
|
||||||
self.file = None
|
self.file = None
|
||||||
self.hostname = self.configuration_manager.get('CONNECTION', 'host')
|
self.hostname = self.configuration_manager.get('CONNECTION', 'host')
|
||||||
self.receiver = self.configuration_manager.get('CONNECTION', 'receiverjid') + '@' + self.configuration_manager.get('CONNECTION', 'servicename') + '/Smack'
|
self.receiver = self.configuration_manager.get('CONNECTION', 'receiverjid') + '@' + self.configuration_manager.get('CONNECTION', 'servicename') + '/Smack'
|
||||||
self.nick = self.configuration_manager.get('CONNECTION', 'nick')
|
self.receive_file_path = self.configuration_manager.get('CONNECTION', 'receivefileparam')
|
||||||
self.receive_file_path = self.configuration_manager.get('CONNECTION', 'receiveFileParam')
|
|
||||||
self.logger.debug('[Messager] XMPP Receiver parameters were set')
|
self.logger.debug('[Messager] XMPP Receiver parameters were set')
|
||||||
|
|
||||||
self.register_extensions()
|
self.register_extensions()
|
||||||
|
|
Loading…
Reference in a new issue