[FIX] add_conversation
This commit is contained in:
parent
644f83ca9b
commit
c4975ef8cc
1 changed files with 1 additions and 1 deletions
|
|
@ -609,7 +609,7 @@ impl OmikronConnection {
|
||||||
if cv.is_type(CommunicationType::add_conversation) {
|
if cv.is_type(CommunicationType::add_conversation) {
|
||||||
let user_id = cv.get_sender();
|
let user_id = cv.get_sender();
|
||||||
let other_id = cv
|
let other_id = cv
|
||||||
.get_data(DataTypes::user_id)
|
.get_data(DataTypes::chat_partner_id)
|
||||||
.unwrap_or(&JsonValue::Null)
|
.unwrap_or(&JsonValue::Null)
|
||||||
.as_i64()
|
.as_i64()
|
||||||
.unwrap_or(0);
|
.unwrap_or(0);
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue