voximplant / react-native-voximplant

Voximplant mobile SDK for React Native (iOS/Android)
http://voximplant.com
205 stars 39 forks source link

Messaging: missing timestamp in retransmitEvent #60

Closed ruscoder closed 5 years ago

ruscoder commented 5 years ago

Hello!

I use RetransmitEvents for fetching messages history. And there is no timestamp in the event's result.

[{sequence: 4, messengerEventType: "SendMessage", message: {…}, userId: "****", messengerAction: "sendMessage"}]

Maybe RetransmitEvents shouldn't be used for messages history? What the right way to implement it?

YuliaGrigorieva commented 5 years ago

Hello!

Thank you for reporting the issue!

RetrasmitEvents is the API to get the conversation history, so you did use it correctly. I checked and the timestamp is missing, so I will update the code to fix it.

I will let you know as soon as I commit the changes.

Best regards, Yulia Grigorieva