messager parameters fixed

This commit is contained in:
Volkan Şahin 2016-04-20 18:02:45 +03:00
parent e6cea55d4b
commit 9886080f81

View file

@ -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()