fix: sync correct collectible username projection
This commit is contained in:
parent
8356989e01
commit
9041abd3d3
42 changed files with 601 additions and 758 deletions
|
|
@ -289,6 +289,7 @@ func (r *Router) onChannelsGetChannelRecommendations(ctx context.Context, req *t
|
|||
return nil, channelInvalidErr(err)
|
||||
}
|
||||
chats := tgChannels(userID, res.Channels)
|
||||
r.applyUsernamesToPeerObjects(ctx, nil, chats)
|
||||
if res.Count > len(chats) {
|
||||
return &tg.MessagesChatsSlice{Count: res.Count, Chats: chats}, nil
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue