From bb5ef414f255d1866a245bc20c43a609f2c69de8 Mon Sep 17 00:00:00 2001 From: "Alexander \"PapaTutuWawa" Date: Sat, 17 Jun 2023 21:24:51 +0200 Subject: [PATCH] feat: Removing ratchets also removed trust --- lib/src/omemo/omemo.dart | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/src/omemo/omemo.dart b/lib/src/omemo/omemo.dart index 90ad7de..7b9ffde 100644 --- a/lib/src/omemo/omemo.dart +++ b/lib/src/omemo/omemo.dart @@ -847,7 +847,8 @@ class OmemoManager { } await removeRatchets(keys.toList()); - // TODO: Do we have to tell the trust manager? + // Tell the trust manager + await _trustManager.removeTrustDecisionsForJid(jid); // Clear the device list await commitDeviceList(