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:
parent
762719179b
commit
d07d18a0cb
@ -79,6 +79,17 @@ public function getMaxCount() {
|
|||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @inheritDoc
|
||||||
|
*/
|
||||||
|
public function getAllowedExtensions() {
|
||||||
|
return [ 'png'
|
||||||
|
, 'gif'
|
||||||
|
, 'jpg'
|
||||||
|
, 'jpeg'
|
||||||
|
];
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @inheritDoc
|
* @inheritDoc
|
||||||
*/
|
*/
|
||||||
|
Loading…
Reference in New Issue
Block a user