mirror of
https://github.com/Sheldan/abstracto-templates.git
synced 2026-01-22 17:45:43 +00:00
[AB-96] fixing modmail messages without text
This commit is contained in:
@@ -9,9 +9,11 @@
|
||||
"description": "${postedMessage.contentRaw?js_string}"
|
||||
</#if>
|
||||
<#if postedMessage.attachments?size gt 0>
|
||||
,"imageUrl": "${postedMessage.attachments[0].proxyUrl}"
|
||||
<#if postedMessage.contentRaw?has_content>,</#if>
|
||||
"imageUrl": "${postedMessage.attachments[0].proxyUrl}"
|
||||
</#if>
|
||||
<#if subscribers?size gt 0>
|
||||
,"additionalMessage": "<#list subscribers as subscriber>${subscriber.member.asMention?js_string}<#sep>,</#list>"
|
||||
<#if postedMessage.contentRaw?has_content || postedMessage.attachments?size gt 0>,</#if>
|
||||
"additionalMessage": "<#list subscribers as subscriber>${subscriber.member.asMention?js_string}<#sep>,</#list>"
|
||||
</#if>
|
||||
}
|
||||
Reference in New Issue
Block a user