From 22e4c9d850a1098fc7e4cbe12aa6681898c247fd Mon Sep 17 00:00:00 2001 From: Audric Ackermann Date: Wed, 17 Nov 2021 10:21:19 +1100 Subject: [PATCH] fix archlinux pw unused issue on archlinux, the appimage links to the system sqlite by default which does not support sqlcipher --- package.json | 2 +- ts/receiver/callMessage.ts | 4 +--- yarn.lock | 4 ++-- 3 files changed, 4 insertions(+), 6 deletions(-) diff --git a/package.json b/package.json index ffa61da21..7a4f72254 100644 --- a/package.json +++ b/package.json @@ -56,7 +56,7 @@ "abort-controller": "3.0.0", "auto-bind": "^4.0.0", "backbone": "1.3.3", - "better-sqlite3": "https://github.com/signalapp/better-sqlite3#2fa02d2484e9f9a10df5ac7ea4617fb2dff30006", + "better-sqlite3": "https://github.com/signalapp/better-sqlite3#ad0db5dd09c0ea4007b1c46bd4f7273827803347", "blob-util": "1.3.0", "blueimp-canvas-to-blob": "3.14.0", "blueimp-load-image": "2.18.0", diff --git a/ts/receiver/callMessage.ts b/ts/receiver/callMessage.ts index 47fc25600..bec8f2f6b 100644 --- a/ts/receiver/callMessage.ts +++ b/ts/receiver/callMessage.ts @@ -2,12 +2,10 @@ import _ from 'lodash'; import { SignalService } from '../protobuf'; import { TTL_DEFAULT } from '../session/constants'; import { SNodeAPI } from '../session/snode_api'; -import { CallManager } from '../session/utils'; +import { CallManager, UserUtils } from '../session/utils'; import { removeFromCache } from './cache'; import { EnvelopePlus } from './types'; -// audric FIXME: refactor this out to persistence, just to help debug the flow and send/receive in synchronous testing - export async function handleCallMessage( envelope: EnvelopePlus, callMessage: SignalService.CallMessage diff --git a/yarn.lock b/yarn.lock index 11f13bf5c..b66dbbada 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2180,9 +2180,9 @@ bcrypt-pbkdf@^1.0.0: dependencies: tweetnacl "^0.14.3" -"better-sqlite3@https://github.com/signalapp/better-sqlite3#2fa02d2484e9f9a10df5ac7ea4617fb2dff30006": +"better-sqlite3@https://github.com/signalapp/better-sqlite3#ad0db5dd09c0ea4007b1c46bd4f7273827803347": version "7.1.4" - resolved "https://github.com/signalapp/better-sqlite3#2fa02d2484e9f9a10df5ac7ea4617fb2dff30006" + resolved "https://github.com/signalapp/better-sqlite3#ad0db5dd09c0ea4007b1c46bd4f7273827803347" dependencies: bindings "^1.5.0" tar "^6.1.0"