+ jid = self.bot.plugin['xep_0045'].rooms[self.bot.room][nick]['jid']
+ if not jid:
+ self.log.debug('jid not found, is bot account moderating room?')
+ return nick
+ jid = jid.split('/')[0] # strip ressource
+ return jid
+
+ def log_online(self, pres):
+ nick = self._get_jid(pres)