From 33e54f1ccbc141c36c7ba03480923dd7ae993e02 Mon Sep 17 00:00:00 2001 From: Jason Volk Date: Sun, 18 Oct 2020 23:50:27 -0700 Subject: [PATCH] ircd::m::acquire: Minor cleanup; fix comment. --- matrix/acquire.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/matrix/acquire.cc b/matrix/acquire.cc index de1481535..b3aeff214 100644 --- a/matrix/acquire.cc +++ b/matrix/acquire.cc @@ -127,7 +127,7 @@ try if(errors.count(event_id)) return true; - if(!m::exists(event::id(event_id))) + if(!m::exists(event_id)) { ++fetching; m::acquire::opts _opts(opts); @@ -135,7 +135,7 @@ try _opts.hint_only = true; if(!handle_event(room, event_id, _opts)) { - // If we fail the process the event we cache that and cease here. + // If we fail to process the event we cache that and cease here. errors.emplace(event_id); return true; }