Sync manager get all next messages bug

Hi, im experiencing a strange bug when I came from background.

SDK Version: 3.0.205
Sync Manager Version: 1.1.34

Steps to reproduce:

  • Send some message in group channel
  • Go to background with the same group channel opened
  • Reopen the app(here the reconnection delegate is called and I execute resumeSynchronize(), channel.refresh, channel.fetchAllNextMessages to check if new messages are available for that channel)

After that, some messages get duplicated.

Here a video where message Ola gets duplicated

https://youtu.be/DN5DLMkmG_Y

Thanks

Hi, @romulomga

Could share your codes that you load the messages when you enter the channel?

I found a error in my own code.

Thank you for your time.