Merge pull request #527 from anjanik012/ignore_event
Prevent EventType::Unsupported events to be saved in statesdb (BugFix)
This commit is contained in:
commit
98b2df43ad
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue