Closed IvanSanchez closed 7 years ago
Thank you very much for reporting this issue and the pull request! :)
You're welcome :-D And thanks for this library, which is an important part of a project of mine (https://gitlab.com/IvanSanchez/soclial)
nice, I'll definietly check it out! :) I wrote a Twitter CLI and already thought about supporting Mastodon and Gnu social https://github.com/vanita5/birdknife
Wait, are you a former TTYtter user too? :-D
yes, of course :D and when TTYtter started to be annoying thanks to new Twitter features I thought it'd be fun to write a Twitter CLI by myself.
The current parsing algorithm means that if a couple of heartbeats are received, and then a
update
event is received, the value ofchunk
will be something likeBut then, the check for the heartbeat is applied to the whole chunk of data, and for the case described just above, the behaviour is to ignore the whole payload.