From 00e82fc0c4034195b3f1380ffe5f1e364e16233f 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 1010dc3daf..49b6d7a14d 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 b1cbbfe51c..3140d121b7 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');