Update src/peerstate.rs

Co-authored-by: bjoern <r10s@b44t.com>
This commit is contained in:
Asiel Díaz Benítez
2022-04-09 18:23:14 -04:00
committed by GitHub
parent 7d3a08599e
commit 10bdbc95cd

View File

@@ -274,8 +274,7 @@ impl Peerstate {
.await?
{
let chats = Chatlist::try_load(context, 0, None, contact_id)
.await
.unwrap();
.await?;
let msg = stock_str::contact_setup_changed(context, self.addr.clone()).await;
for (chat_id, msg_id) in chats.iter() {
let timestamp_sort = if let Some(msg_id) = msg_id {