SHA256
HEADER v3, primary аккаунты и подтверждения
This commit is contained in:
@@ -586,10 +586,10 @@ Channel items contain `ownerLogin`, `slug`, `displayName`, `avatarAr`, `ownerBlo
|
||||
Channel/message responses expose three counters:
|
||||
|
||||
- `likesCount` — all active likes;
|
||||
- `primaryLikesCount` — likes from users whose current `account_role=primary`;
|
||||
- `primaryLikesCount` — likes from accounts whose canonical signed HEADER V3 declares `accountType=1`;
|
||||
- `shiningLikesCount` — likes from users who are currently both `primary` and `shining`.
|
||||
|
||||
Changing `account_role` or `shine` does not alter the raw reaction. The two qualified counters are recalculated from `reactions_state`; therefore old likes automatically enter or leave qualified counters when the actor's current status changes.
|
||||
The public UI shows only `primaryLikesCount`; details retain all three categories. Alternative accounts can still like. The `account_role` parameter cannot change voting rights. Changes in `shine` or in the canonical HEADER projection recalculate qualified counters from `reactions_state`, without changing raw reactions.
|
||||
|
||||
|
||||
## `SearchChannels` — публичный поиск каналов (v32)
|
||||
|
||||
Reference in New Issue
Block a user