refactoring: using xml params part II
This commit is contained in:
parent
7bb6bd10c6
commit
a18f064aa2
1 changed files with 68 additions and 64 deletions
|
|
@ -42,8 +42,8 @@ class QuickApp():
|
|||
self.bridge.register("askConfirmation", self.askConfirmation, "request")
|
||||
|
||||
###now we get the essential params###
|
||||
self.whoami=JID(self.bridge.getParam("JabberID","Connection")[0])
|
||||
self.watched=self.bridge.getParam("Watched", "Misc")[0].split() #TODO: put this in a plugin
|
||||
self.whoami=JID(self.bridge.getParamV("JabberID","Connection"))
|
||||
self.watched=self.bridge.getParamV("Watched", "Misc").split() #TODO: put this in a plugin
|
||||
|
||||
## misc ##
|
||||
self.onlineContact = set() #FIXME: temporary
|
||||
|
|
|
|||
Loading…
Reference in a new issue