Fixed chat tool. Get chat stream before calling tool.more method. For this purpose refused from Q.pipe and call Streams.get and tool.more in callback. Also set state.earliest to chat stream messageCount (if state.earliest didn't defined yet).
Fixed chat tool.
Get chat stream before calling tool.more method. For this purpose refused from Q.pipe and call Streams.get and tool.more in callback.
Also set state.earliest to chat stream messageCount (if state.earliest didn't defined yet).

AndreyTepaykin/Platform,Qbix/Platform,AndreyTepaykin/Platform,Qbix/Platform,EGreg/Platform,EGreg/Platform,EGreg/Platform,AndreyTepaykin/Platform,Qbix/Platform,Qbix/Platform,EGreg/Platform,AndreyTepaykin/Platform