mirror of
https://codeberg.org/Mercury-IM/Smack
synced 2024-11-22 14:22:05 +01:00
Merge pull request #245 from vanitasvitae/fixStaleDevices
Only ignore our own stale devices
This commit is contained in:
commit
d76d8a9b3f
1 changed files with 2 additions and 2 deletions
|
@ -385,8 +385,8 @@ public abstract class OmemoService<T_IdKeyPair, T_IdKey, T_PreKey, T_SigPreKey,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Ignore stale devices
|
// Ignore own stale devices
|
||||||
if (OmemoConfiguration.getIgnoreStaleDevices()) {
|
if (contactsDevice.getJid().equals(userDevice.getJid()) && OmemoConfiguration.getIgnoreStaleDevices()) {
|
||||||
|
|
||||||
Date lastMessageDate = getOmemoStoreBackend().getDateOfLastReceivedMessage(userDevice, contactsDevice);
|
Date lastMessageDate = getOmemoStoreBackend().getDateOfLastReceivedMessage(userDevice, contactsDevice);
|
||||||
if (lastMessageDate == null) {
|
if (lastMessageDate == null) {
|
||||||
|
|
Loading…
Reference in a new issue