⚡ 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,
|
||||
Body: body,
|
||||
Metadata: hyper.EncodeMap(map[string]any{
|
||||
"related_post": post,
|
||||
"related_post": TruncatePostContent(post),
|
||||
}),
|
||||
IsRealtime: false,
|
||||
IsForcePush: true,
|
||||
|
Loading…
Reference in New Issue
Block a user