comparison src/core/sat_main.py @ 919:ed9841e6d84a

core: added IQ_SET to core.constants + getLastResource now manage correctly jid.JID
author Goffi <goffi@goffi.org>
date Sat, 22 Mar 2014 13:42:59 +0100
parents a9401694d2dc
children c897c8d321b3
comparison
equal deleted inserted replaced
918:1597fb8b9108 919:ed9841e6d84a
141 self.bridge.register("connect", self.connect) 141 self.bridge.register("connect", self.connect)
142 self.bridge.register("asyncConnect", self.asyncConnect) 142 self.bridge.register("asyncConnect", self.asyncConnect)
143 self.bridge.register("disconnect", self.disconnect) 143 self.bridge.register("disconnect", self.disconnect)
144 self.bridge.register("getContacts", self.getContacts) 144 self.bridge.register("getContacts", self.getContacts)
145 self.bridge.register("getContactsFromGroup", self.getContactsFromGroup) 145 self.bridge.register("getContactsFromGroup", self.getContactsFromGroup)
146 self.bridge.register("getLastResource", self.memory.getLastResource) 146 self.bridge.register("getLastResource", self.memory._getLastResource)
147 self.bridge.register("getPresenceStatus", self.memory.getPresenceStatus) 147 self.bridge.register("getPresenceStatus", self.memory.getPresenceStatus)
148 self.bridge.register("getWaitingSub", self.memory.getWaitingSub) 148 self.bridge.register("getWaitingSub", self.memory.getWaitingSub)
149 self.bridge.register("getWaitingConf", self.getWaitingConf) 149 self.bridge.register("getWaitingConf", self.getWaitingConf)
150 self.bridge.register("sendMessage", self._sendMessage) 150 self.bridge.register("sendMessage", self._sendMessage)
151 self.bridge.register("getConfig", self.memory.getConfig) 151 self.bridge.register("getConfig", self.memory.getConfig)