Skip to content

Commit acb4830

Browse files
committed
refactor: do not emit ChatModified event in notify_peer_verified()
The chat is not modified at least since c6ea4e3 (PR #4998), even the info message is not posted there.
1 parent 8361541 commit acb4830

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/securejoin/bob.rs

-2
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,6 @@ impl BobState {
191191
timestamp: i64,
192192
) -> Result<()> {
193193
let contact = Contact::get_by_id(context, self.invite().contact_id()).await?;
194-
let chat_id = self.joining_chat_id(context).await?;
195194
self.alice_chat()
196195
.set_protection(
197196
context,
@@ -200,7 +199,6 @@ impl BobState {
200199
Some(contact.id),
201200
)
202201
.await?;
203-
context.emit_event(EventType::ChatModified(chat_id));
204202
Ok(())
205203
}
206204
}

0 commit comments

Comments
 (0)