[FIX] add conversation
This commit is contained in:
parent
8747657999
commit
c359b0626a
1 changed files with 7 additions and 3 deletions
|
|
@ -580,13 +580,17 @@ impl ClientConnection {
|
||||||
.get_data(DataTypes::chat_partner_name)
|
.get_data(DataTypes::chat_partner_name)
|
||||||
.unwrap_or(&JsonValue::Null)
|
.unwrap_or(&JsonValue::Null)
|
||||||
.as_str()
|
.as_str()
|
||||||
.unwrap_or("");
|
.unwrap_or("")
|
||||||
|
.to_string();
|
||||||
|
|
||||||
let load_uuid_response = get_omega_connection()
|
let load_uuid_response = get_omega_connection()
|
||||||
.await_response(
|
.await_response(
|
||||||
&CommunicationValue::new(CommunicationType::get_user_data)
|
&CommunicationValue::new(CommunicationType::get_user_data)
|
||||||
.with_id(cv.get_id())
|
.with_id(cv.clone().get_id())
|
||||||
.add_data(DataTypes::username, JsonValue::from(chat_partner_name)),
|
.add_data(
|
||||||
|
DataTypes::username,
|
||||||
|
JsonValue::from(chat_partner_name.clone()),
|
||||||
|
),
|
||||||
Some(Duration::from_secs(20)),
|
Some(Duration::from_secs(20)),
|
||||||
)
|
)
|
||||||
.await;
|
.await;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue