mirror of
https://github.com/Sheldan/abstracto-templates.git
synced 2026-04-14 11:48:18 +00:00
[AB-96] fixing modmail messages without text
This commit is contained in:
@@ -9,9 +9,11 @@
|
|||||||
"description": "${postedMessage.contentRaw?js_string}"
|
"description": "${postedMessage.contentRaw?js_string}"
|
||||||
</#if>
|
</#if>
|
||||||
<#if postedMessage.attachments?size gt 0>
|
<#if postedMessage.attachments?size gt 0>
|
||||||
,"imageUrl": "${postedMessage.attachments[0].proxyUrl}"
|
<#if postedMessage.contentRaw?has_content>,</#if>
|
||||||
|
"imageUrl": "${postedMessage.attachments[0].proxyUrl}"
|
||||||
</#if>
|
</#if>
|
||||||
<#if subscribers?size gt 0>
|
<#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>
|
</#if>
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user