mirror of
https://github.com/wbbaddons/Tims-Chat.git
synced 2024-12-21 21:30:08 +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;
|
||||
}
|
||||
|
||||
/**
|
||||
* @inheritDoc
|
||||
*/
|
||||
public function getAllowedExtensions() {
|
||||
return [ 'png'
|
||||
, 'gif'
|
||||
, 'jpg'
|
||||
, 'jpeg'
|
||||
];
|
||||
}
|
||||
|
||||
/**
|
||||
* @inheritDoc
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user