Esempio n. 1
0
	def handle_presence_unavailable(self, presence):
		jid = presence.get_from_jid()
		self.handle_contact_unavailable(jid)
Esempio n. 2
0
	def handle_presence_available(self, presence):
		jid = presence.get_from_jid()
		show = presence.get_show() or u"online"
		self.handle_contact_available(jid, show)