mirror of
https://github.com/chatmail/core.git
synced 2026-04-28 10:56:29 +03:00
fix: Synchronise self-chat
It just didn't work before, sync messages were not generated.
This commit is contained in:
@@ -1877,7 +1877,7 @@ impl Chat {
|
||||
Chattype::Single => {
|
||||
let mut r = None;
|
||||
for contact_id in get_chat_contacts(context, self.id).await? {
|
||||
if contact_id == ContactId::SELF {
|
||||
if contact_id == ContactId::SELF && !self.is_self_talk() {
|
||||
continue;
|
||||
}
|
||||
if r.is_some() {
|
||||
|
||||
Reference in New Issue
Block a user