Mercurial > libervia-backend
comparison src/plugins/plugin_misc_cs.py @ 437:02c633a0ddcf
plugin XEP-0115: entity capabilities now use PersistentBinaryDict to store hash cache
author | Goffi <goffi@goffi.org> |
---|---|
date | Wed, 30 Nov 2011 00:24:41 +0100 |
parents | b1794cbb88e5 |
children | 48277946348b |
comparison
equal
deleted
inserted
replaced
436:5e9d28ca5109 | 437:02c633a0ddcf |
---|---|
244 self.host.bridge.actionResult("ERROR", id, message_data) | 244 self.host.bridge.actionResult("ERROR", id, message_data) |
245 return | 245 return |
246 friends = data['friends'].split('\t') | 246 friends = data['friends'].split('\t') |
247 subject = data['subject'] | 247 subject = data['subject'] |
248 message = data['message'] | 248 message = data['message'] |
249 print "send message \o/ :) :) :)" | |
250 info(_("sending message to %(friends)s with subject [%(subject)s]" % {'friends':friends, 'subject':subject})) | 249 info(_("sending message to %(friends)s with subject [%(subject)s]" % {'friends':friends, 'subject':subject})) |
251 self.__sendMessage(None, subject, message, self.data[profile], friends, id, profile) | 250 self.__sendMessage(None, subject, message, self.data[profile], friends, id, profile) |
252 | 251 |
253 def __showUnreadMessages2(self, html, id, profile): | 252 def __showUnreadMessages2(self, html, id, profile): |
254 """Called when the inbox page has been received""" | 253 """Called when the inbox page has been received""" |