Skip to content

3.1.0.beta2

Pre-release
Pre-release
Compare
Choose a tag to compare
@pekam pekam released this 20 Apr 14:58
· 2 commits to main since this release
cd9acf0

Fix Persister Skipping Messages Sent at the Same Timestamp

The user should implement CollaborationMessagePersister to fetch messages which have been submitted from the timestamp provided by FetchQuery::getSince. This is the timestamp of the last message that is already loaded. Previously it was expected that the persister implementation returns messages after this timestamp (message.getTime() > fetchQuery.getSince()). This meant that if there are multiple messages submitted during the same millisecond, not all messages would be loaded. To fix this, now it's expected to include the messages at the getSince timestamp (message.getTime() >= fetchQuery.getSince()). The component will take care of filtering duplicates, which are expected when returning again the already loaded latest messages.

Compatibility

This version is targeted for Vaadin 20, and will be included in the following Vaadin 20 pre-release.