Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mc/restore #56

Merged
merged 4 commits into from
Sep 3, 2024
Merged

Mc/restore #56

merged 4 commits into from
Sep 3, 2024

Conversation

marcin-cebo
Copy link
Contributor

No description provided.

updatedActions = actions!!.filterNot { it.key == chat.deleteMessageActionName }
}.thenAsync {
// get messageAction for all messages in channel
chat.pubNub.getMessageActions(channel = channelId, page = PNBoundedPage(end = timetoken))
Copy link
Contributor Author

@marcin-cebo marcin-cebo Aug 16, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is coded differently that in TS. There is a bug in TS because calling getMessageActions
one can provide start/end that refers to actionTimetoken not messageTimetoken

I informed Piotrek about this and proposed solution that I implemented in KMP

@marcin-cebo marcin-cebo merged commit d44d70f into master Sep 3, 2024
5 checks passed
@marcin-cebo marcin-cebo deleted the mc/restore branch September 3, 2024 08:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants