Skip to content

Fix: Properly reset stream index and length during text WS message

Mateusz Brawański requested to merge patch/744 into master

Created by: Neuheit

Summary

Fixes #744 (closed)

Details

I forgot to reset the stream index and length when a text WS message is received (such as from Lavalink). This PR properly resets the stream so it can be converted into a JSON object properly.

Changes proposed

  • Properly reset stream index and length to 0 after receiving text message.

Merge request reports

Loading