mirror of
https://github.com/chatmail/core.git
synced 2026-05-08 09:26:29 +03:00
refactor: do not emit ChatModified event in notify_peer_verified()
The chat is not modified at least since
c6ea4e389a
(PR https://github.com/deltachat/deltachat-core-rust/pull/4998),
even the info message is not posted there.
This commit is contained in:
@@ -191,7 +191,6 @@ impl BobState {
|
|||||||
timestamp: i64,
|
timestamp: i64,
|
||||||
) -> Result<()> {
|
) -> Result<()> {
|
||||||
let contact = Contact::get_by_id(context, self.invite().contact_id()).await?;
|
let contact = Contact::get_by_id(context, self.invite().contact_id()).await?;
|
||||||
let chat_id = self.joining_chat_id(context).await?;
|
|
||||||
self.alice_chat()
|
self.alice_chat()
|
||||||
.set_protection(
|
.set_protection(
|
||||||
context,
|
context,
|
||||||
@@ -200,7 +199,6 @@ impl BobState {
|
|||||||
Some(contact.id),
|
Some(contact.id),
|
||||||
)
|
)
|
||||||
.await?;
|
.await?;
|
||||||
context.emit_event(EventType::ChatModified(chat_id));
|
|
||||||
Ok(())
|
Ok(())
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user