contact: synchronize status between devices

This feature is similar to existing avatar synchronization.

Whenever encrypted BCC-to-self copy of chat message is received, status
setting is updated with the signature of the message.
This commit is contained in:
link2xt
2021-05-01 07:39:38 +03:00
parent abac35c872
commit 855b6b18fd
3 changed files with 95 additions and 6 deletions

View File

@@ -243,6 +243,8 @@ pub(crate) async fn dc_receive_imf_inner(
context,
from_id,
mime_parser.footer.clone().unwrap_or_default(),
mime_parser.was_encrypted(),
mime_parser.has_chat_version(),
)
.await
{