signal-desktop/ts/shims/socketStatus.ts

11 lines
302 B
TypeScript
Raw Normal View History

2021-06-09 22:28:54 +00:00
// Copyright 2020-2021 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();
}