mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-02 20:19:27 +01:00
Fix wrong user set as owner of event in video conference alarm dialog
This commit is contained in:
parent
bdd0eef739
commit
23bd20b2cc
@ -1165,8 +1165,8 @@ class calendar_boupdate extends calendar_bo
|
||||
array('egw_pr_notify' => 1,
|
||||
'type' => $m_type,
|
||||
'videoconference' => $details['videoconference'],
|
||||
'account_id' => $userid,
|
||||
'name' => $fullname
|
||||
'account_id' => $senderid,
|
||||
'name' => Api\Accounts::username($senderid)
|
||||
)
|
||||
+ ($alarm ? ['alarm-offset' => (int)$alarm['offset']] : []));
|
||||
}
|
||||
|
@ -358,8 +358,13 @@
|
||||
case EGW_PR_NOTIFY_HEIGH:
|
||||
if (notifymessages[id]['extra_data']['videoconference'] && notifymessages[id]['extra_data']['alarm-offset'] <= 300)
|
||||
{
|
||||
app.status.notificationPopup(notifymessages[id]['extra_data']['videoconference'],
|
||||
notifymessages[id]['extra_data']['account_id'], notifymessages[id]['extra_data']['name']);
|
||||
app.status.scheduled_receivedCall({
|
||||
url: notifymessages[id]['extra_data']['videoconference'],
|
||||
account_id: notifymessages[id]['extra_data']['account_id'],
|
||||
avatar: 'account:'+ notifymessages[id]['extra_data']['account_id'],
|
||||
title: notifymessages[id]['data']['title'],
|
||||
owner: notifymessages[id]['extra_data']['name']
|
||||
});
|
||||
}
|
||||
else {
|
||||
this.toggle(true);
|
||||
|
Loading…
Reference in New Issue
Block a user