summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorDeepBlueV7.X <nicolas.werner@hotmail.de>2021-03-17 22:19:23 +0100
committerGitHub <noreply@github.com>2021-03-17 22:19:23 +0100
commit98b2df43ade81a0c99b09b3f431c16fa01dff8dc (patch)
treeebff4933bc3769fd9e5c20eba962fca73fb4c620 /src
parentUse old hunter directory (diff)
parentPrevent EventType::Unsupported type events to be saved in db, avoiding except... (diff)
downloadnheko-98b2df43ade81a0c99b09b3f431c16fa01dff8dc.tar.xz
Merge pull request #527 from anjanik012/ignore_event
Prevent EventType::Unsupported events to be saved in statesdb (BugFix)
Diffstat (limited to 'src')
-rw-r--r--src/Cache_p.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Cache_p.h b/src/Cache_p.h

index 473c6319..3454cd54 100644 --- a/src/Cache_p.h +++ b/src/Cache_p.h
@@ -381,7 +381,7 @@ private: std::visit( [&txn, &statesdb](auto e) { - if constexpr (isStateEvent(e)) + if (isStateEvent(e) && e.type != EventType::Unsupported) statesdb.put(txn, to_string(e.type), json(e).dump()); }, event);