mirror of
https://github.com/wbbaddons/Tims-Chat.git
synced 2024-12-21 21:30:08 +00:00
Add attachment object type and permissions to the corresponding XMLs.
This commit is contained in:
parent
648224a213
commit
2a2b69093b
@ -24,5 +24,10 @@
|
||||
<classname>chat\system\user\online\location\ChatLocation</classname>
|
||||
<languagevariable>chat.user.usersOnline.location.ChatPage</languagevariable>
|
||||
</type>
|
||||
<type>
|
||||
<name>be.bastelstu.chat.message</name>
|
||||
<definitionname>com.woltlab.wcf.attachment.objectType</definitionname>
|
||||
<classname>chat\system\attachment\MessageAttachmentObjectType</classname>
|
||||
</type>
|
||||
</import>
|
||||
</data>
|
||||
|
@ -38,6 +38,27 @@
|
||||
<defaultvalue>none</defaultvalue>
|
||||
<admindefaultvalue>all</admindefaultvalue>
|
||||
</option>
|
||||
<option name="user.chat.maxAttachmentSize">
|
||||
<categoryname>user.chat</categoryname>
|
||||
<optiontype>fileSize</optiontype>
|
||||
<defaultvalue>1000000</defaultvalue>
|
||||
<options>module_attachment</options>
|
||||
<minvalue>10000</minvalue>
|
||||
</option>
|
||||
<option name="user.chat.allowedAttachmentExtensions">
|
||||
<categoryname>user.chat</categoryname>
|
||||
<optiontype>textarea</optiontype>
|
||||
<defaultvalue><![CDATA[gif
|
||||
jpg
|
||||
jpeg
|
||||
png
|
||||
bmp
|
||||
zip
|
||||
txt
|
||||
pdf]]></defaultvalue>
|
||||
<options>module_attachment</options>
|
||||
<wildcard><![CDATA[*]]></wildcard>
|
||||
</option>
|
||||
<option name="mod.chat.canAlwaysEnter">
|
||||
<categoryname>mod.chat</categoryname>
|
||||
<optiontype>boolean</optiontype>
|
||||
|
Loading…
Reference in New Issue
Block a user