mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2025-12-24 20:26:24 +00:00
calling: make hostname optional in IceServer type
This commit is contained in:
@@ -2691,7 +2691,7 @@ export class CallingClass {
|
||||
: // proritize ice servers with IPs to avoid DNS
|
||||
[
|
||||
{
|
||||
hostname: iceServer.hostname,
|
||||
hostname: iceServer.hostname ?? '',
|
||||
username: iceServer.username,
|
||||
password: iceServer.password,
|
||||
urls: (iceServer.urlsWithIps ?? []).slice(),
|
||||
|
||||
@@ -787,9 +787,9 @@ export type GetAccountForUsernameResultType = z.infer<
|
||||
export type GetIceServersResultType = Readonly<{
|
||||
username: string;
|
||||
password: string;
|
||||
urls: ReadonlyArray<string>;
|
||||
urlsWithIps: ReadonlyArray<string>;
|
||||
hostname: string;
|
||||
urls?: ReadonlyArray<string>;
|
||||
urlsWithIps?: ReadonlyArray<string>;
|
||||
hostname?: string;
|
||||
}>;
|
||||
|
||||
export type GetDevicesResultType = ReadonlyArray<
|
||||
|
||||
Reference in New Issue
Block a user