release 22.0.12-f7.1: ядро-паритет с glb
Type checking / changes (push) Has been cancelled
Type checking / test (push) Has been cancelled
Type checking / typescript-summary (push) Has been cancelled
Node tests / changes (push) Has been cancelled
Node tests / test (push) Has been cancelled
Node tests / test-summary (push) Has been cancelled
Type checking / changes (push) Has been cancelled
Type checking / test (push) Has been cancelled
Type checking / typescript-summary (push) Has been cancelled
Node tests / changes (push) Has been cancelled
Node tests / test (push) Has been cancelled
Node tests / test-summary (push) Has been cancelled
- Listener.php: форс ru для push больших звонков (единственная функц. правка ядра на glb), инкорпорирован в форк с пометкой о конфликте с З5 (мультиязычность) → вынести в config с dev-f7. - appinfo version 22.0.12.1 (= f7.1; NC требует числовую версию). - F7-PARITY.md: полный разбор слоёв (ядро=наше / брендинг=dev-f7 downstream), рецепт сборки glb-артефакта. Брендинг (l10n/img/css/namespace/строки) НЕ в форке — зона dev-f7, применяется downstream.
This commit is contained in:
@@ -299,15 +299,13 @@ class Listener implements IEventListener {
|
||||
// so we only do it for "big enough" calls.
|
||||
$preparseNotificationForPush = count($users) > 10;
|
||||
if ($preparseNotificationForPush) {
|
||||
$fallbackLang = $this->serverConfig->getSystemValue('force_language', null);
|
||||
if (is_string($fallbackLang)) {
|
||||
/** @psalm-var array<string, string> $userLanguages */
|
||||
$userLanguages = [];
|
||||
} else {
|
||||
$fallbackLang = $this->serverConfig->getSystemValueString('default_language', 'en');
|
||||
/** @psalm-var array<string, string> $userLanguages */
|
||||
$userLanguages = $this->serverConfig->getUserValueForUsers('core', 'lang', array_map('strval', array_keys($users)));
|
||||
}
|
||||
// [F7] Форс языка push-уведомлений больших звонков — 'ru' (соответствие
|
||||
// боевому glb; происхождение — F7-кастомизация dev-f7). ВНИМАНИЕ: хардкод
|
||||
// теряет per-user язык и конфликтует с задачей мультиязычности (З5) —
|
||||
// вынести в конфиг после согласования с dev-f7 (см. mail к dev-f7).
|
||||
$fallbackLang = 'ru';
|
||||
/** @psalm-var array<string, string> $userLanguages */
|
||||
$userLanguages = [];
|
||||
}
|
||||
|
||||
$this->connection->beginTransaction();
|
||||
|
||||
Reference in New Issue
Block a user