mirror of
https://github.com/moparisthebest/Conversations
synced 2024-11-24 17:52:17 -05:00
Don't merge messages with different trust statuses
This commit is contained in:
parent
fca0c36757
commit
e8ec2ee628
@ -399,7 +399,8 @@ public class Message extends AbstractEntity {
|
|||||||
!message.getBody().startsWith(ME_COMMAND) &&
|
!message.getBody().startsWith(ME_COMMAND) &&
|
||||||
!this.getBody().startsWith(ME_COMMAND) &&
|
!this.getBody().startsWith(ME_COMMAND) &&
|
||||||
!this.bodyIsHeart() &&
|
!this.bodyIsHeart() &&
|
||||||
!message.bodyIsHeart()
|
!message.bodyIsHeart() &&
|
||||||
|
this.isTrusted() == message.isTrusted()
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -679,4 +680,9 @@ public class Message extends AbstractEntity {
|
|||||||
public String getAxolotlFingerprint() {
|
public String getAxolotlFingerprint() {
|
||||||
return axolotlFingerprint;
|
return axolotlFingerprint;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public boolean isTrusted() {
|
||||||
|
return conversation.getAccount().getAxolotlService().getFingerprintTrust(axolotlFingerprint)
|
||||||
|
== AxolotlService.SQLiteAxolotlStore.Trust.TRUSTED;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user