feat(messages): sync saved message tags
This commit is contained in:
parent
a785ae7491
commit
6b3eba6c5d
42 changed files with 1581 additions and 551 deletions
|
|
@ -444,6 +444,9 @@ func tgMessageReactions(viewerUserID int64, in *domain.ChannelMessageReactions)
|
|||
if in.CanSeeList {
|
||||
out.SetCanSeeList(true)
|
||||
}
|
||||
if in.AsTags {
|
||||
out.SetReactionsAsTags(true)
|
||||
}
|
||||
for _, item := range in.Results {
|
||||
reaction := tgMessageReaction(item.Reaction)
|
||||
if reaction == nil || item.Count <= 0 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue