fix push on mobile

This commit is contained in:
Дмитрий Пиченикин 2026-03-13 17:37:21 +03:00
parent f7ccbb849a
commit 02305aae92

View File

@ -169,6 +169,7 @@ func (p *Plugin) notifyGrant(badgeID badgesmodel.BadgeID, granter string, grante
dmText += Tdm("badges.notify.dm_reason", "\nПочему? ") + reason dmText += Tdm("badges.notify.dm_reason", "\nПочему? ") + reason
} }
dmAttachment := model.SlackAttachment{ dmAttachment := model.SlackAttachment{
Fallback: dmText,
Title: Tdm("badges.notify.title", "%sзначок выдан!", image), Title: Tdm("badges.notify.title", "%sзначок выдан!", image),
Text: dmText, Text: dmText,
} }