SHA256
UI: отправка UI-ошибок, персональный публичный чат, русские pending-файлы
This commit is contained in:
@@ -1682,6 +1682,23 @@ export class AuthService {
|
||||
}
|
||||
}
|
||||
|
||||
async reportClientUiError(details = {}) {
|
||||
try {
|
||||
const payload = {
|
||||
source: 'ui_error',
|
||||
code: 'UI_RUNTIME_ERROR',
|
||||
...details,
|
||||
};
|
||||
const response = await this.sendCallDeliveryReport({
|
||||
type: 'ui_error',
|
||||
value: JSON.stringify(payload),
|
||||
});
|
||||
return !!response;
|
||||
} catch {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
close() {
|
||||
this.ws.close();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user