feat: Implement a BTBV TrustManager

This commit is contained in:
PapaTutuWawa committed 2022-08-08 18:47:43 +02:00
1 parent dafd0af1e5
commit c1fb79a20f
6 files changed
+155 -1

No files matched your search

+2
View File
@@ -134,6 +134,7 @@ class OmemoSessionManager {
kexResult.ad,
);
await _trustManager.onNewSession(jid, deviceId);
await _addSession(jid, deviceId, ratchet);
return OmemoKeyExchange()
@@ -177,6 +178,7 @@ class OmemoSessionManager {
kexResult.ad,
);
await _trustManager.onNewSession(jid, deviceId);
await _addSession(jid, deviceId, ratchet);
}