Ensure that messages to initiate calls are marked urgent=true

This commit is contained in:
Scott Nonnenberg 2023-10-23 10:38:03 -07:00 committed by GitHub
parent 50a2ddf4b2
commit 70cd073a72
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 18 additions and 4 deletions

View file

@ -1702,6 +1702,7 @@ export default class MessageSender {
async sendCallingMessage(
serviceId: ServiceIdString,
callingMessage: Readonly<Proto.ICallingMessage>,
urgent: boolean,
options?: Readonly<SendOptionsType>
): Promise<CallbackResultType> {
const recipients = [serviceId];
@ -1727,7 +1728,7 @@ export default class MessageSender {
contentHint: ContentHint.DEFAULT,
groupId: undefined,
options,
urgent: true,
urgent,
});
}