mirror of
https://github.com/matrix-org/matrix-rust-sdk.git
synced 2026-05-08 07:56:55 -04:00
refactor(ffi): Fix clippy lint
Signed-off-by: Kévin Commaille <zecakeh@tedomum.fr>
This commit is contained in:
committed by
Damir Jelić
parent
a0c87cfe4f
commit
ca89700dfe
@@ -1574,7 +1574,7 @@ mod galleries {
|
||||
let in_reply_to = params
|
||||
.in_reply_to
|
||||
.as_ref()
|
||||
.map(|event_id| EventId::parse(event_id))
|
||||
.map(EventId::parse)
|
||||
.transpose()
|
||||
.map_err(|_| RoomError::InvalidRepliedToEventId)?;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user