SHA256
Поправил пуши для личных сообщений
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
import { WsJsonClient } from './ws-client.js';
|
||||
import { invalidateConnectionsGraphCache } from './connections-graph-cache.js';
|
||||
import {
|
||||
base64ToBytes,
|
||||
bytesToBase64,
|
||||
@@ -3368,7 +3369,9 @@ export class AuthService {
|
||||
const kinds = CONNECTION_SUBTYPES[cleanKind];
|
||||
if (!kinds) throw new Error(`Неподдерживаемый тип связи: ${kind}`);
|
||||
const subType = enabled ? kinds.on : kinds.off;
|
||||
return this.addBlockConnection({ login, toLogin, subType, storagePwd });
|
||||
const result = await this.addBlockConnection({ login, toLogin, subType, storagePwd });
|
||||
invalidateConnectionsGraphCache();
|
||||
return result;
|
||||
}
|
||||
|
||||
async addBlockUserParam({ login, param, value, storagePwd }) {
|
||||
|
||||
Reference in New Issue
Block a user