fix: sync correct collectible username projection
This commit is contained in:
parent
8356989e01
commit
9041abd3d3
42 changed files with 601 additions and 758 deletions
|
|
@ -183,12 +183,14 @@ func (r *Router) onAccountGetNotifyExceptions(ctx context.Context, req *tg.Accou
|
|||
chats = appendUniqueTGChats(chats, tgCommunityChats(views)...)
|
||||
}
|
||||
}
|
||||
return &tg.Updates{
|
||||
out := &tg.Updates{
|
||||
Updates: updates,
|
||||
Users: r.tgUsersForIDs(ctx, userID, userIDs),
|
||||
Chats: chats,
|
||||
Date: int(r.clock.Now().Unix()),
|
||||
}, nil
|
||||
}
|
||||
r.applyPeerReadModels(ctx, userID, out.Users, out.Chats)
|
||||
return out, nil
|
||||
}
|
||||
|
||||
// notifyExceptionQualifies 判定一条异常是否纳入 getNotifyExceptions 结果。
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue