SHA256
Доделать связи и профиль
This commit is contained in:
@@ -90,18 +90,21 @@ const SIGNAL_TYPE_REMOTE_ADDBLOCK_REQUEST = 'remote_addblock_request';
|
||||
const SIGNAL_TYPE_REMOTE_ADDBLOCK_RESULT = 'remote_addblock_result';
|
||||
|
||||
const CONNECTION_SUBTYPES = Object.freeze({
|
||||
// Legacy alias: friend == close_friend. Оба ключа ведут на один и тот же код 10/11.
|
||||
close_friend: { on: 10, off: 11 },
|
||||
friend: { on: 10, off: 11 },
|
||||
friend: { on: 14, off: 15 },
|
||||
contact: { on: 20, off: 21 },
|
||||
// Reserved: пока не используется UI.
|
||||
follow: { on: 30, off: 31 },
|
||||
// Reserved: семейные связи пока скрыты из UI.
|
||||
spouse: { on: 40, off: 41 },
|
||||
parent: { on: 50, off: 51 },
|
||||
child: { on: 52, off: 53 },
|
||||
sibling: { on: 54, off: 55 },
|
||||
known_person: { on: 60, off: 61 },
|
||||
// Legacy 60/61 intentionally absent: старые блоки сервер принимает, новый UI их не создаёт.
|
||||
shine_confirmed: { on: 70, off: 71 },
|
||||
// Reserved: пока не используется UI.
|
||||
shine_seen: { on: 74, off: 75 },
|
||||
official_account: { on: 80, off: 81 },
|
||||
});
|
||||
|
||||
function normalizeServerUrl(url) {
|
||||
|
||||
Reference in New Issue
Block a user