From f7e10fdc350ed97bc1b81852b3e36485225a8433 Mon Sep 17 00:00:00 2001 From: Hadi Nategh Date: Mon, 11 Jan 2021 14:19:22 +0100 Subject: [PATCH] Add participants as extra params for videoconference call --- calendar/js/app.js | 4 +++- calendar/js/app.ts | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/calendar/js/app.js b/calendar/js/app.js index f61bc474ff..b6be0479dd 100644 --- a/calendar/js/app.js +++ b/calendar/js/app.js @@ -3568,7 +3568,9 @@ var CalendarApp = /** @class */ (function (_super) { email: egw.user('account_email'), cal_id: _data.id, title: _data.title - }, _data.start, _data.end], function (_value) { + }, _data.start, _data.end, { + participants: Object.keys(_data.participants).filter(function (v) { return v.match(/^[0-9]/); }) + }], function (_value) { if (_value) { if (_value.err) egw.message(_value.err, 'error'); diff --git a/calendar/js/app.ts b/calendar/js/app.ts index 16794d4132..2421e9938b 100644 --- a/calendar/js/app.ts +++ b/calendar/js/app.ts @@ -4429,7 +4429,9 @@ class CalendarApp extends EgwApp email:egw.user('account_email'), cal_id:_data.id, title: _data.title - }, _data.start, _data.end], function(_value){ + }, _data.start, _data.end, { + participants:Object.keys(_data.participants).filter(v => {return v.match(/^[0-9]/)}) + }], function(_value){ if (_value) { if (_value.err) egw.message(_value.err, 'error');