Update to RingRTC v2.26.2
This commit is contained in:
parent
92baa76c09
commit
43e70720f7
5 changed files with 79 additions and 54 deletions
|
@ -2,6 +2,7 @@
|
|||
// SPDX-License-Identifier: AGPL-3.0-only
|
||||
|
||||
import { assert } from 'chai';
|
||||
import type { CallId } from '@signalapp/ringrtc';
|
||||
import {
|
||||
CallMessageUrgency,
|
||||
CallingMessage,
|
||||
|
@ -23,9 +24,10 @@ describe('callingMessageToProto', () => {
|
|||
});
|
||||
|
||||
it('attaches the type if provided', () => {
|
||||
const callId: CallId = { high: 0, low: 0, unsigned: false };
|
||||
|
||||
const callingMessage = new CallingMessage();
|
||||
callingMessage.hangup = new HangupMessage();
|
||||
callingMessage.hangup.type = HangupType.Busy;
|
||||
callingMessage.hangup = new HangupMessage(callId, HangupType.Busy, 1);
|
||||
|
||||
const result = callingMessageToProto(callingMessage);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue