refactor(ffi): Fix clippy lint

Signed-off-by: Kévin Commaille <zecakeh@tedomum.fr>
This commit is contained in:
Kévin Commaille
2025-07-25 17:42:13 +02:00
committed by Damir Jelić
parent a0c87cfe4f
commit ca89700dfe

View File

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