Compare commits
2 Commits
3825232ebe
...
de85ab7955
Author | SHA1 | Date | |
---|---|---|---|
de85ab7955 | |||
a08c654295 |
@ -42,3 +42,7 @@
|
||||
- Implement queued access to the ratchets inside the `OmemoManager`.
|
||||
- Implement heartbeat messages.
|
||||
- [BREAKING] Rename `Device` to `OmemoDevice`.
|
||||
|
||||
## 0.4.1
|
||||
|
||||
- Fix fetching the current device and building a ratchet session with it when encrypting for our own JID
|
||||
|
@ -409,8 +409,11 @@ class OmemoManager {
|
||||
_log.finest('Fetching bundles $bundlesToFetch for $jid');
|
||||
}
|
||||
|
||||
final device = await getDevice();
|
||||
final newBundles = List<OmemoBundle>.empty(growable: true);
|
||||
for (final id in bundlesToFetch) {
|
||||
if (jid == device.jid && id == device.id) continue;
|
||||
|
||||
final bundle = await fetchDeviceBundleImpl(jid, id);
|
||||
if (bundle != null) newBundles.add(bundle);
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
name: omemo_dart
|
||||
description: An XMPP library independent OMEMO library
|
||||
version: 0.4.0
|
||||
version: 0.4.1
|
||||
homepage: https://github.com/PapaTutuWawa/omemo_dart
|
||||
publish_to: https://git.polynom.me/api/packages/PapaTutuWawa/pub
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user