mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-02-17 10:51:38 +01:00
calendar/email: distinguish between meeting request and meeting reply, while displaying ics
This commit is contained in:
parent
1c63b3a936
commit
f3b2cc3c46
@ -1079,7 +1079,8 @@ blockquote[type=cite] {
|
||||
$attachments = $this->bofelamimail->getMessageAttachments($uid, $partID, '',$fetchEmbeddedImages,true);
|
||||
foreach ((array)$attachments as $key => $attach)
|
||||
{
|
||||
if (strtolower($attach['mimeType']) == 'text/calendar' && strtolower($attach['method']) == 'request' &&
|
||||
if (strtolower($attach['mimeType']) == 'text/calendar' &&
|
||||
(strtolower($attach['method']) == 'request' || strtolower($attach['method']) == 'reply') &&
|
||||
isset($GLOBALS['egw_info']['user']['apps']['calendar']) &&
|
||||
($attachment = $this->bofelamimail->getAttachment($uid, $attach['partID'])))
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user