unauthenticated WebSocket via libsignal: shadowing mode

Co-authored-by: Scott Nonnenberg <scott@signal.org>
This commit is contained in:
Sergey Skrobotov
2024-03-14 14:08:51 -07:00
committed by GitHub
parent d696a2c082
commit 9f40562b19
14 changed files with 636 additions and 119 deletions

View File

@@ -470,6 +470,10 @@ export function renderToast({
);
}
if (toastType === ToastType.TransportError) {
return <Toast onClose={hideToast}>{i18n('icu:TransportError')}</Toast>;
}
if (toastType === ToastType.UnableToLoadAttachment) {
return (
<Toast onClose={hideToast}>{i18n('icu:unableToLoadAttachment')}</Toast>