[FIX] add_conversation

This commit is contained in:
Alex Emmet 2026-01-21 11:00:40 +01:00
commit c4975ef8cc

View file

@ -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);