mirror of
https://github.com/hoytech/strfry.git
synced 2025-06-17 08:48:51 +00:00
Update cmd_sync.cpp
This commit is contained in:
@ -237,7 +237,7 @@ void cmd_sync(const std::vector<std::string> &subArgs) {
|
|||||||
auto &evJson = msg.at(2);
|
auto &evJson = msg.at(2);
|
||||||
|
|
||||||
std::string okMsg;
|
std::string okMsg;
|
||||||
auto res = writePolicyPlugin.acceptEvent(cfg().relay__writePolicy__plugin, evJson, EventSourceType::Sync, ws.remoteAddr, okMsg);
|
auto res = writePolicyPlugin.acceptEvent(cfg().relay__writePolicy__plugin, evJson, EventSourceType::Sync, url, okMsg);
|
||||||
if (res == PluginEventSifterResult::Accept) {
|
if (res == PluginEventSifterResult::Accept) {
|
||||||
writer.write({ std::move(evJson), });
|
writer.write({ std::move(evJson), });
|
||||||
} else {
|
} else {
|
||||||
|
Reference in New Issue
Block a user