0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-11-18 07:50:57 +01:00

ircd:Ⓜ️:acquire: Minor cleanup; fix comment.

This commit is contained in:
Jason Volk 2020-10-18 23:50:27 -07:00
parent 59495a74bf
commit 33e54f1ccb

View file

@ -127,7 +127,7 @@ try
if(errors.count(event_id)) if(errors.count(event_id))
return true; return true;
if(!m::exists(event::id(event_id))) if(!m::exists(event_id))
{ {
++fetching; ++fetching;
m::acquire::opts _opts(opts); m::acquire::opts _opts(opts);
@ -135,7 +135,7 @@ try
_opts.hint_only = true; _opts.hint_only = true;
if(!handle_event(room, event_id, _opts)) 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); errors.emplace(event_id);
return true; return true;
} }