diff --git a/files/lib/system/attachment/MessageAttachmentObjectType.class.php b/files/lib/system/attachment/MessageAttachmentObjectType.class.php index b5a9f16..bd5aadb 100644 --- a/files/lib/system/attachment/MessageAttachmentObjectType.class.php +++ b/files/lib/system/attachment/MessageAttachmentObjectType.class.php @@ -79,6 +79,17 @@ public function getMaxCount() { return 1; } + /** + * @inheritDoc + */ + public function getAllowedExtensions() { + return [ 'png' + , 'gif' + , 'jpg' + , 'jpeg' + ]; + } + /** * @inheritDoc */