1
0
mirror of https://github.com/wbbaddons/Tims-Chat.git synced 2024-11-16 16:30:09 +00:00

Hardcode acceptable attachment extensions to common images

This commit is contained in:
Tim Düsterhus 2020-10-31 19:38:03 +01:00
parent 762719179b
commit d07d18a0cb
Signed by: TimWolla
GPG Key ID: 8FF75566094168AF

View File

@ -79,6 +79,17 @@ public function getMaxCount() {
return 1; return 1;
} }
/**
* @inheritDoc
*/
public function getAllowedExtensions() {
return [ 'png'
, 'gif'
, 'jpg'
, 'jpeg'
];
}
/** /**
* @inheritDoc * @inheritDoc
*/ */