From e2ae94ec118f086eec6a3b2154d673f9b79c1937 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Garc=C3=ADa=20Moreno?= Date: Fri, 17 Aug 2018 20:09:32 +0200 Subject: [PATCH] api: Remove not needed eventid clone --- fractal-matrix-api/src/backend/room.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/fractal-matrix-api/src/backend/room.rs b/fractal-matrix-api/src/backend/room.rs index 2e3b3b96..00b1396c 100644 --- a/fractal-matrix-api/src/backend/room.rs +++ b/fractal-matrix-api/src/backend/room.rs @@ -309,7 +309,6 @@ pub fn mark_as_read(bk: &Backend, roomid: String, eventid: String) -> Result<(), "m.fully_read": eventid, "m.read": json!(null), }); - let e = eventid.clone(); post!(&url, &attrs, |_| { }, |_| { } ); Ok(())