summary refs log tree commit diff
path: root/src/timeline/EventStore.h
diff options
context:
space:
mode:
authorDeepBlueV7.X <nicolas.werner@hotmail.de>2021-01-12 00:07:20 +0100
committerGitHub <noreply@github.com>2021-01-12 00:07:20 +0100
commitb6f2acfed581eed3593768c2be00479ac7102b7c (patch)
treea26a596d0638956994d39cf6b443521f4ca2ff10 /src/timeline/EventStore.h
parentForgot to save res.qrc (diff)
parentFix timeline becoming corrupted on backfill (diff)
downloadnheko-b6f2acfed581eed3593768c2be00479ac7102b7c.tar.xz
Merge pull request #373 from Nheko-Reborn/misc-fixes
Misc fixes
Diffstat (limited to 'src/timeline/EventStore.h')
-rw-r--r--src/timeline/EventStore.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/timeline/EventStore.h b/src/timeline/EventStore.h

index c6b39742..f8eff9a9 100644 --- a/src/timeline/EventStore.h +++ b/src/timeline/EventStore.h
@@ -74,7 +74,7 @@ public: int size() const { - return last != std::numeric_limits<uint64_t>::max() + return (last != std::numeric_limits<uint64_t>::max() && last >= first) ? static_cast<int>(last - first) + 1 : 0; }