From e600680869747dbf6fd5848397512cd6625539ad Mon Sep 17 00:00:00 2001 From: George Hazan Date: Mon, 13 May 2024 15:28:15 +0300 Subject: missing parameter --- protocols/Discord/src/dispatch.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'protocols') 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); } } } -- cgit v1.2.3