fix sender type

This commit is contained in:
seemenkina 2026-06-23 11:06:40 +03:00
parent 1c643d0d9b
commit 957243c90e
No known key found for this signature in database

View File

@ -487,16 +487,13 @@ impl GroupV2Convo {
events.iter().find_map(|evt| match evt {
ConversationEvent::AppMessage(AppMessageProto {
payload: Some(app_message::Payload::ConversationMessage(cm)),
}) => {
let cred = cm.sender.as_bytes().to_vec();
Some(ConvoOutcome {
convo_id: self.convo_id.clone(),
content: Some(Content {
bytes: cm.message.clone(),
encoded_credential: cred,
}),
})
}
}) => Some(ConvoOutcome {
convo_id: self.convo_id.clone(),
content: Some(Content {
bytes: cm.message.clone(),
encoded_credential: cm.sender.clone(),
}),
}),
_ => None,
})
}