mirror of
https://github.com/logos-messaging/libchat.git
synced 2026-05-12 13:09:29 +00:00
PR review changes
This commit is contained in:
parent
710c0bab1b
commit
a8e83ccaa7
@ -145,11 +145,9 @@ where
|
||||
convo_id: String,
|
||||
group_id: GroupId,
|
||||
) -> Result<Self, ChatError> {
|
||||
let Some(mls_group) = MlsGroup::load(ctx.borrow().provider().storage(), &group_id)
|
||||
let mls_group = MlsGroup::load(ctx.borrow().provider().storage(), &group_id)
|
||||
.map_err(ChatError::generic)?
|
||||
else {
|
||||
return Err(ChatError::NoConvo("mls group not found".into()));
|
||||
};
|
||||
.ok_or_else(|| ChatError::NoConvo("mls group not found".into()))?;
|
||||
|
||||
Self::subscribe(&mut *ds.borrow_mut(), &convo_id)?;
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user