From ff0afd4e5f7d31034eab9c21f62f40614522ea42 Mon Sep 17 00:00:00 2001 From: Jan-Piet Mens Date: Sun, 16 Aug 2015 11:54:31 +0200 Subject: [PATCH] Do not store geohash in incoming JSON --- ot-recorder.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ot-recorder.c b/ot-recorder.c index 4f631f2..8d48818 100644 --- a/ot-recorder.c +++ b/ot-recorder.c @@ -514,10 +514,12 @@ void on_message(struct mosquitto *mosq, void *userdata, const struct mosquitto_m /* * We have exactly three topic parts (owntracks/user/device), and valid JSON. - * Add a few bits to the JSON, and record it on a per-user/device basis. */ + /* + * Add a few bits to the JSON, and record it on a per-user/device basis. json_append_member(json, "ghash", json_mkstring(utstring_body(ghash))); + */ if ((jsonstring = json_stringify(json, NULL)) != NULL) { printf("***** %s\n", jsonstring);