refactor various Arc<EventId> to OwnedEventId
Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
@@ -147,7 +147,7 @@ pub async fn handle_incoming_pdu<'a>(
|
||||
.bad_event_ratelimiter
|
||||
.write()
|
||||
.expect("locked")
|
||||
.entry(prev_id.into())
|
||||
.entry(prev_id)
|
||||
{
|
||||
| Entry::Vacant(e) => {
|
||||
e.insert((now, 1));
|
||||
|
||||
Reference in New Issue
Block a user