pusher/chatkit-client-js

Issue with subscribeToRoomMultipart

Closed this issue · 2 comments

whenever we used this upgraded version over the subscribeToRoom then the message.text is being undefined.

Message.text is part of the legacy message type (v2 API).
With subscribeToRoomMultipart, the message text is is store within a part.
Message.parts[].payload.content where Message.parts[].payload.type == "text/plain".

This seems resolved, so closing. If there's still a problem please contact support@pusher.com for more direct help