{"action":"opened","issue":{"url":"https://api.github.com/repos/taimos/GPSd4Java/issues/24","repository_url":"https://api.github.com/repos/taimos/GPSd4Java","labels_url":"https://api.github.com/repos/taimos/GPSd4Java/issues/24/labels{/name}","comments_url":"https://api.github.com/repos/taimos/GPSd4Java/issues/24/comments","events_url":"https://api.github.com/repos/taimos/GPSd4Java/issues/24/events","html_url":"https://github.com/taimos/GPSd4Java/issues/24","id":208268278,"number":24,"title":"WATCH message not sent correctly on reconnect","user":{"login":"renns","id":3082842,"avatar_url":"https://avatars.githubusercontent.com/u/3082842?v=3","gravatar_id":"","url":"https://api.github.com/users/renns","html_url":"https://github.com/renns","followers_url":"https://api.github.com/users/renns/followers","following_url":"https://api.github.com/users/renns/following{/other_user}","gists_url":"https://api.github.com/users/renns/gists{/gist_id}","starred_url":"https://api.github.com/users/renns/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/renns/subscriptions","organizations_url":"https://api.github.com/users/renns/orgs","repos_url":"https://api.github.com/users/renns/repos","events_url":"https://api.github.com/users/renns/events{/privacy}","received_events_url":"https://api.github.com/users/renns/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-02-16T22:29:47Z","updated_at":"2017-02-16T22:29:47Z","closed_at":null,"body":"On reconnect to gpsd, the watch command is sent like this:\r\n\r\n?WATCH=?WATCH={\"enable\":true,\"json\":true,\"class\":\"WATCH\"}\r\n\r\nNotice the double \"?WATCH=\". The cause is in handleDisconnected().\r\n\r\nthis.syncCommand(\"?WATCH=\" + lastWatch, WatchObject.class);\r\nshould be:\r\nthis.syncCommand(lastWatch, WatchObject.class);"}}
{"actor":{"display_login":"renns"}}