mirror of
https://github.com/hoytech/strfry.git
synced 2025-06-21 02:00:45 +00:00
np
This commit is contained in:
@ -615,7 +615,9 @@ struct EventThread {
|
||||
if (processedLevIds.contains(e.ev.primaryKeyId)) continue;
|
||||
if (e.getKind() != 1) continue;
|
||||
|
||||
ctx.orphanNodes.emplace_back(e.getCreatedAt(), process(id));
|
||||
if (!eventCache.contains(e.parent)) {
|
||||
ctx.orphanNodes.emplace_back(e.getCreatedAt(), process(id));
|
||||
}
|
||||
}
|
||||
|
||||
std::sort(ctx.orphanNodes.begin(), ctx.orphanNodes.end(), [](auto &a, auto &b){ return a.timestamp < b.timestamp; });
|
||||
|
Reference in New Issue
Block a user