refactoring: using xml params part II

This commit is contained in:
Goffi 2009-11-06 23:31:00 +01:00
commit a18f064aa2

View file

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