mirror of
https://github.com/element-hq/element-web
synced 2024-11-27 03:36:07 +03:00
Add specific fields to third party lookup response fields
This commit is contained in:
parent
0b574327d7
commit
d339dc447f
1 changed files with 18 additions and 1 deletions
|
@ -103,10 +103,27 @@ enum AudioID {
|
||||||
Busy = 'busyAudio',
|
Busy = 'busyAudio',
|
||||||
}
|
}
|
||||||
|
|
||||||
|
interface ThirdpartyLookupResponseFields {
|
||||||
|
/* eslint-disable camelcase */
|
||||||
|
|
||||||
|
// im.vector.sip_native
|
||||||
|
virtual_mxid: string;
|
||||||
|
is_virtual: boolean;
|
||||||
|
|
||||||
|
// im.vector.sip_virtual
|
||||||
|
native_mxid: string;
|
||||||
|
is_native: boolean;
|
||||||
|
|
||||||
|
// common
|
||||||
|
lookup_success: boolean;
|
||||||
|
|
||||||
|
/* eslint-enable camelcase */
|
||||||
|
}
|
||||||
|
|
||||||
interface ThirdpartyLookupResponse {
|
interface ThirdpartyLookupResponse {
|
||||||
userid: string,
|
userid: string,
|
||||||
protocol: string,
|
protocol: string,
|
||||||
fields: {[key: string]: any},
|
fields: ThirdpartyLookupResponseFields,
|
||||||
}
|
}
|
||||||
|
|
||||||
// Unlike 'CallType' in js-sdk, this one includes screen sharing
|
// Unlike 'CallType' in js-sdk, this one includes screen sharing
|
||||||
|
|
Loading…
Reference in a new issue