comparison sat/plugins/plugin_exp_invitation.py @ 2941:83cbd4545274

plugin events: fixed invitation + set name and thumb_url from event element
author Goffi <goffi@goffi.org>
date Sat, 04 May 2019 00:06:41 +0200
parents b256e90612d0
children ab2696e34d29
comparison
equal deleted inserted replaced
2940:ef554aca3eb1 2941:83cbd4545274
123 else: 123 else:
124 invitation_elt[u'thumb_url'] = thumb_url 124 invitation_elt[u'thumb_url'] = thumb_url
125 return mess_data, invitation_elt 125 return mess_data, invitation_elt
126 126
127 def sendPubsubInvitation(self, client, invitee_jid, service, node, 127 def sendPubsubInvitation(self, client, invitee_jid, service, node,
128 item_id, name, extra): 128 item_id, name, extra):
129 """Send an pubsub invitation in a <message> stanza 129 """Send an pubsub invitation in a <message> stanza
130 130
131 @param invitee_jid(jid.JID): entitee to send invitation to 131 @param invitee_jid(jid.JID): entitee to send invitation to
132 @param service(jid.JID): pubsub service 132 @param service(jid.JID): pubsub service
133 @param node(unicode): pubsub node 133 @param node(unicode): pubsub node