typo
This commit is contained in:
parent
b4788b72d7
commit
f9a9a6bad2
|
@ -168,10 +168,10 @@ impl Imp {
|
|||
|
||||
let acl: ACL = serde_json::from_str(&data["accessControlList"]).expect("Error parsing conversation");
|
||||
|
||||
let conversatio_id: i32 = data["ConversationID"].parse::<i32>().unwrap();
|
||||
let conversation_id: i32 = data["ConversationID"].parse::<i32>().unwrap();
|
||||
let conversation = Conversation {
|
||||
handle: convo_handle.clone(),
|
||||
identifier: conversatio_id,
|
||||
identifier: conversation_id,
|
||||
name: data["nick"].to_string(),
|
||||
status: ConnectionState::new(&data["status"]),
|
||||
blocked: data["blocked"] == "true",
|
||||
|
@ -187,8 +187,8 @@ impl Imp {
|
|||
profile
|
||||
.conversations
|
||||
.insert(conversation.identifier, conversation);
|
||||
handler.on_new_contact(self.cwtch.as_ref(), profile, conversatio_id);
|
||||
handler.on_contact_online(self.cwtch.as_ref(), profile, conversatio_id);
|
||||
handler.on_new_contact(self.cwtch.as_ref(), profile, conversation_id);
|
||||
handler.on_contact_online(self.cwtch.as_ref(), profile, conversation_id);
|
||||
}
|
||||
None => (),
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue