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
|
|
|
|
|
2021-10-26 19:15:33 +00:00
|
|
|
import type { SocketStatus } from '../types/SocketStatus';
|
2021-06-09 22:28:54 +00:00
|
|
|
|
|
|
|
export function getSocketStatus(): SocketStatus {
|
2020-03-31 20:03:38 +00:00
|
|
|
const { getSocketStatus: getMessageReceiverStatus } = window;
|
2020-02-12 21:30:58 +00:00
|
|
|
|
|
|
|
return getMessageReceiverStatus();
|
|
|
|
}
|