signal-desktop/ts/shims/socketStatus.ts

11 lines
297 B
TypeScript
Raw Normal View History

2023-01-03 19:55:46 +00:00
// Copyright 2020 Signal Messenger, LLC
2020-10-30 20:34:04 +00:00
// SPDX-License-Identifier: AGPL-3.0-only
import type { SocketStatus } from '../types/SocketStatus';
2021-06-09 22:28:54 +00:00
export function getSocketStatus(): SocketStatus {
const { getSocketStatus: getMessageReceiverStatus } = window;
return getMessageReceiverStatus();
}