feat: Track new/replaced ratchets in the results

This commit is contained in:
2023-06-20 16:27:24 +02:00
parent 3c20d8ac56
commit 49c7e114e6
7 changed files with 197 additions and 25 deletions

View File

@@ -5,8 +5,6 @@ class OmemoRatchetData {
this.jid,
this.id,
this.ratchet,
this.added,
this.replaced,
);
/// The JID we have the ratchet with.
@@ -17,10 +15,4 @@ class OmemoRatchetData {
/// The actual double ratchet to commit.
final OmemoDoubleRatchet ratchet;
/// Indicates whether the ratchet has just been created (true) or just modified (false).
final bool added;
/// Indicates whether the ratchet has been replaced (true) or not.
final bool replaced;
}