Mercurial > libervia-backend
view src/plugins/__init__.py @ 2287:ea869f30f204
plugin events: added eventInvite command as a helper for the complex invitation workflow:
when this command is used:
- an email invitation is sent with the event node set
- invitee's jid is affiliated to event
- invitee's jid is affiliated to invitee's node as a publisher
- invitee's jid is affiliated to blog's node as a member
- invitee's jid is affiliated to every blog's item's comments node as a publisher
last affiliation complex operation is currently needed because of the way blogs and comments are handled, but this need to be changed in the future with XEP proposal.
author | Goffi <goffi@goffi.org> |
---|---|
date | Thu, 29 Jun 2017 20:57:12 +0200 |
parents | 8c7450bd9335 |
children | 70399d1acb47 |
line wrap: on
line source
# FIXME: remove this when RSM and MAM are in wokkel # XXX: the Monkey Patch is here and not in src/__init__ to avoir issues with pyjamas compilation import wokkel from sat.tmp.wokkel import pubsub as tmp_pubsub, rsm as tmp_rsm, mam as tmp_mam wokkel.pubsub = tmp_pubsub wokkel.rsm = tmp_rsm wokkel.mam = tmp_mam