fixed using the correct parameter for reply and anon reply (not the whole message, so we dont need to parse out the actual reply again)

added optional note parameter for close
fixed state not being saved in database for mod mail thread
changed logging of mod mail to be templated, instead of replaying the messages
added reaction to indicate the user, that the message was processes by modmail
fixed future handling for user message replies (we blocked)
added header for initial information about the user when he opens a thread
fixed duration formater resulting in new lines
This commit is contained in:
Sheldan
2020-05-06 23:22:43 +02:00
parent ad1cbb54fd
commit feb9ce07ee
23 changed files with 191 additions and 58 deletions

View File

@@ -1,5 +1 @@
<#if amount gt 1>
${amount} days
<#else>
1 day
</#if>
<#if amount gt 1>${amount} days<#else>1 day</#if>

View File

@@ -1,5 +1 @@
<#if amount gt 1>
${amount} hours
<#else>
1 hour
</#if>
<#if amount gt 1>${amount} hours<#else>1 hour</#if>

View File

@@ -1,5 +1 @@
<#if amount gt 1>
${amount} minutes
<#else>
1 minute
</#if>
<#if amount gt 1>${amount} minutes<#else>1 minute</#if>

View File

@@ -1,5 +1 @@
<#if amount gt 1>
${amount} seconds
<#else>
1 second
</#if>
<#if amount gt 1>${amount} seconds<#else>1 second</#if>