diff options
Diffstat (limited to 'lib')
-rwxr-xr-x | lib/Controller/MessagesController.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Controller/MessagesController.php b/lib/Controller/MessagesController.php index 32a87956a..2e949df28 100755 --- a/lib/Controller/MessagesController.php +++ b/lib/Controller/MessagesController.php @@ -443,7 +443,7 @@ class MessagesController extends Controller { * @return boolean */ private function attachmentIsCalendarEvent(array $attachment): bool { - return $attachment['mime'] === 'text/calendar'; + return in_array($attachment['mime'], ['text/calendar', 'application/ics'], true); } } |