diff options
author | George Hazan <george.hazan@gmail.com> | 2024-05-13 15:28:15 +0300 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2024-05-13 15:28:15 +0300 |
commit | e600680869747dbf6fd5848397512cd6625539ad (patch) | |
tree | 665a677a4e51ceb5531a71076fca4acc57ed0feb | |
parent | bc287d3e214f683d28097e155ed76f4f3baad205 (diff) |
missing parameter
-rw-r--r-- | protocols/Discord/src/dispatch.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/protocols/Discord/src/dispatch.cpp b/protocols/Discord/src/dispatch.cpp index be4a7c7e41..794ee73275 100644 --- a/protocols/Discord/src/dispatch.cpp +++ b/protocols/Discord/src/dispatch.cpp @@ -541,7 +541,7 @@ void CDiscordProto::OnCommandMessageAddReaction(const JSONNode &pRoot) DB::EventInfo dbei(hEvent);
if (dbei) {
dbei.addReaction(pRoot["emoji"]["name"].as_string().c_str());
- db_event_edit(hEvent, &dbei);
+ db_event_edit(hEvent, &dbei, true);
}
}
}
@@ -553,7 +553,7 @@ void CDiscordProto::OnCommandMessageRemoveReaction(const JSONNode &pRoot) DB::EventInfo dbei(hEvent);
if (dbei) {
dbei.delReaction(pRoot["emoji"]["name"].as_string().c_str());
- db_event_edit(hEvent, &dbei);
+ db_event_edit(hEvent, &dbei, true);
}
}
}
|