merged from gramsrv upstream

This commit is contained in:
onysd 2026-09-01 12:06:31 +03:00
parent 79c64ee916
commit 21a0856587
651 changed files with 54774 additions and 4590 deletions

View file

@ -21,6 +21,15 @@ type ContactList struct {
Hash int64
}
// ContactProjectionBatch is a viewer-owned contact read model for fan-out
// projection. Contacts[viewerID][targetUserID] is the same row GetMany(viewer)
// would return; PersonalPhotos carries that viewer's personal photo overrides
// for the same target set.
type ContactProjectionBatch struct {
Contacts map[int64]map[int64]Contact
PersonalPhotos map[int64]map[int64]ProfilePhotoRef
}
// CloseFriendsEditResult describes a full close-friends list replacement.
type CloseFriendsEditResult struct {
AddedUserIDs []int64