⚡ Truncate notification embed posts
This commit is contained in:
parent
89b495577e
commit
d889d22d11
@ -104,7 +104,7 @@ func NotifyPosterAccount(user models.Account, post models.Post, title, body stri
|
|||||||
Subtitle: subtitle,
|
Subtitle: subtitle,
|
||||||
Body: body,
|
Body: body,
|
||||||
Metadata: hyper.EncodeMap(map[string]any{
|
Metadata: hyper.EncodeMap(map[string]any{
|
||||||
"related_post": post,
|
"related_post": TruncatePostContent(post),
|
||||||
}),
|
}),
|
||||||
IsRealtime: false,
|
IsRealtime: false,
|
||||||
IsForcePush: true,
|
IsForcePush: true,
|
||||||
|
Loading…
Reference in New Issue
Block a user