(cobra client) pass the message position to the subscription data callback
This commit is contained in:
1 parent
90df3d1805
commit
332ffb0603
11 files changed
+59
-43
No files matched your search
@@ -189,7 +189,7 @@ namespace snake
|
||||
nlohmann::json response = {
|
||||
{"action", "rtm/subscription/data"},
|
||||
{"id", id++},
|
||||
{"body", {{"subscription_id", subscriptionId}, {"messages", {msg}}}}};
|
||||
{"body", {{"subscription_id", subscriptionId}, {"position", "0-0"}, {"messages", {msg}}}}};
|
||||
|
||||
ws->sendText(response.dump());
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user