From 02305aae9220665244d9fbb391458777f904c892 Mon Sep 17 00:00:00 2001 From: "dmitrii.pichenikin" Date: Fri, 13 Mar 2026 17:37:21 +0300 Subject: [PATCH] fix push on mobile --- server/utils.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/server/utils.go b/server/utils.go index a44ce76..11bd65b 100644 --- a/server/utils.go +++ b/server/utils.go @@ -169,8 +169,9 @@ func (p *Plugin) notifyGrant(badgeID badgesmodel.BadgeID, granter string, grante dmText += Tdm("badges.notify.dm_reason", "\nПочему? ") + reason } dmAttachment := model.SlackAttachment{ - Title: Tdm("badges.notify.title", "%sзначок выдан!", image), - Text: dmText, + Fallback: dmText, + Title: Tdm("badges.notify.title", "%sзначок выдан!", image), + Text: dmText, } model.ParseSlackAttachment(dmPost, []*model.SlackAttachment{&dmAttachment}) err := p.mm.Post.DM(p.BotUserID, granted.Id, dmPost)