{"action":"closed","issue":{"url":"https://api.github.com/repos/hidespb/node-whatsapi/issues/43","labels_url":"https://api.github.com/repos/hidespb/node-whatsapi/issues/43/labels{/name}","comments_url":"https://api.github.com/repos/hidespb/node-whatsapi/issues/43/comments","events_url":"https://api.github.com/repos/hidespb/node-whatsapi/issues/43/events","html_url":"https://github.com/hidespb/node-whatsapi/issues/43","id":70965249,"number":43,"title":"Odd issue sending/receiving messages","user":{"login":"elad","id":3621643,"avatar_url":"https://avatars.githubusercontent.com/u/3621643?v=3","gravatar_id":"","url":"https://api.github.com/users/elad","html_url":"https://github.com/elad","followers_url":"https://api.github.com/users/elad/followers","following_url":"https://api.github.com/users/elad/following{/other_user}","gists_url":"https://api.github.com/users/elad/gists{/gist_id}","starred_url":"https://api.github.com/users/elad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elad/subscriptions","organizations_url":"https://api.github.com/users/elad/orgs","repos_url":"https://api.github.com/users/elad/repos","events_url":"https://api.github.com/users/elad/events{/privacy}","received_events_url":"https://api.github.com/users/elad/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":30,"created_at":"2015-04-25T20:44:43Z","updated_at":"2015-04-27T07:21:26Z","closed_at":"2015-04-27T07:21:26Z","body":"Hello,\r\n\r\nI'm experiencing two odd issues with node-whatsapi. I wrote a little echo \"server\" that's supposed to receive messages and send them back. It's a simple sequence where I `connect`, `login`, `requestServerProperties`, `sendIsOnline`, and then wait for `receivedMessage` events, calling `sendMessage` with the relevant parts.\r\n\r\nWhen I run the code, it connects and logs in fine. It receives an incoming message:\r\n\r\n```\r\nrx <message from=\"xxx@s.whatsapp.net\" id=\"1429991181-130\" type=\"text\" t=\"1429994279\" notify=\"Elad\">\r\nrx   <body>6 data length</body>\r\nrx </message>\r\n\r\ntx <receipt to=\"xxx@s.whatsapp.net\" type=\"read\" id=\"1429991181-130\" t=\"1429994280\"></receipt>\r\nIncoming message: { body: 'Test 2',\r\n  from: 'xxx@s.whatsapp.net',\r\n  author: '',\r\n  id: '1429991181-130',\r\n  date: Sat Apr 25 2015 23:37:59 GMT+0300 (IDT),\r\n  notify: 'Elad',\r\n  isGroup: false }\r\n\r\ntx <message to=\"xxx@s.whatsapp.net\" type=\"text\" id=\"message-1429994280-2\" t=\"1429994280\">\r\ntx   <body>6 data length</body>\r\ntx </message>\r\n```\r\n\r\nBut apparently doesn't send read receipts because I only see one tick in the sending client. I also don't see the target client online.\r\n\r\nWhen sending messages, I never receive the response from the server.\r\n\r\nThen, I quit the app (^C it) and start it again. At that point I see two blue ticks in the sending client, and this in the app:\r\n\r\n```\r\nrx <ack from=\"xxx@s.whatsapp.net\" id=\"1429991181-130\" class=\"receipt\" type=\"read\"></ack>\r\n```\r\n\r\nThe messages still don't get sent though.\r\n\r\nWhat am I doing wrong? :)"}}