Mercurial > libervia-backend
diff sat_frontends/jp/cmd_event.py @ 2616:1cc88adb5142
plugin events: invitations improvments + personal list
- added invitation by <message> mechanism
- added a personal list in PEP which keep events created by user, or in which she has been invited
- new bridge methods: eventsList, and eventInviteByEmail. eventInvite is now used to invite a entity by jid (not email like before)
- on invite, an invitation message is send to invitee's jid
- when an invitation message is received, event is automatically linked in personal list
- when creating a new event, event is automatically linked in personal list
author | Goffi <goffi@goffi.org> |
---|---|
date | Thu, 21 Jun 2018 01:21:44 +0200 |
parents | a5b96950b81a |
children | 56f94936df1e |
line wrap: on
line diff
--- a/sat_frontends/jp/cmd_event.py Thu Jun 21 01:21:44 2018 +0200 +++ b/sat_frontends/jp/cmd_event.py Thu Jun 21 01:21:44 2018 +0200 @@ -383,7 +383,7 @@ email = self.args.email[0] if self.args.email else None emails_extra = self.args.email[1:] - self.host.bridge.eventInvite( + self.host.bridge.eventInviteByEmail( self.args.service, self.args.node, self.args.item,