repejota / phpnats

A PHP client for the NATSio cloud messaging system.

Home Page:http://nats.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Wrong indexing handling message

MadDevPro opened this issue · comments

Hi !
I've some troubles with a wildcard subject. The message recived catch the _INBOX instead of the subject when there is 5 parts.
I will launch a PR to fix that (wrong index).

["MSG","subject....","42d6881fd413c459802c6b11689e74f9","62\r\n"]
["MSG","subject....","42d6881fd413c459862c7b18689e74f9","_INBOX.60ec0b2e4eea3","62\r\n"]

The index it's maybe right but I can't get my subject when i recived a message in the inbox.