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:
parent
59495a74bf
commit
33e54f1ccb
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue