api: Remove not needed eventid clone

This commit is contained in:
Daniel García Moreno 2018-08-17 20:09:32 +02:00
parent 92e897e09d
commit e2ae94ec11

View file

@ -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(())