1
0
mirror of synced 2024-11-25 05:06:03 +03:00

Merge pull request #77 from Neur0toxine/master

Send comment field from delivery if it present
This commit is contained in:
Alex Lushpai 2019-07-17 11:46:34 +03:00 committed by GitHub
commit aed2c049a0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -864,6 +864,10 @@ func getOrderMessage(dataOrder *v1.MessageDataOrder) string {
mb += ";\n" + replaceMarkdownSymbols(dataOrder.Delivery.Address)
}
if dataOrder.Delivery.Comment != "" {
mb += ";\n" + replaceMarkdownSymbols(dataOrder.Delivery.Comment)
}
mb += "\n"
}