mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2025-12-24 12:19:41 +00:00
Update to RingRTC v2.26.2
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user