mirror of
https://github.com/chatmail/core.git
synced 2026-05-08 09:26:29 +03:00
No need to set the origin anymore
This commit is contained in:
@@ -593,7 +593,6 @@ impl Contact {
|
|||||||
.get_config(Config::Selfstatus)
|
.get_config(Config::Selfstatus)
|
||||||
.await?
|
.await?
|
||||||
.unwrap_or_default();
|
.unwrap_or_default();
|
||||||
contact.origin = Origin::ManuallyCreated;
|
|
||||||
} else if contact_id == ContactId::DEVICE {
|
} else if contact_id == ContactId::DEVICE {
|
||||||
contact.name = stock_str::device_messages(context).await;
|
contact.name = stock_str::device_messages(context).await;
|
||||||
contact.addr = ContactId::DEVICE_ADDR.to_string();
|
contact.addr = ContactId::DEVICE_ADDR.to_string();
|
||||||
|
|||||||
Reference in New Issue
Block a user