SDK node.js - Compatibility break in conversations.getConversationByBubbleId
AnsweredHi,
Message format retrieved by method conversations.getConversationByBubbleId has changed.
In 1.39.3, message.fromJid returns the contact object
In 1.44.0, it returns only the jid.
-
Official comment
Hi,
due to partial implementation, the 1.39 doesn't returns the good value, but the documentation was right, fromJId must return the jid string:
-> v1.39
https://github.com/Rainbow-CPaaS/Rainbow-Node-SDK/blob/v1.39.3/lib/common/models/Message.js#L25
-> v1.44:
https://github.com/Rainbow-CPaaS/Rainbow-Node-SDK/blob/v1.44.0/lib/common/models/Message.js#L25
Comment actions
Please sign in to leave a comment.
Comments
2 comments