When an item is republished (new item published with the same id), it is not sent as the last published item as items are sorted by creation_date instead of update_date.
Best solution would be to add a parameter (pubsub node option) to set order in which items should be sorted (by creation date or by update date).
Andrzej Wójcik (Tigase) commented 5 years ago
Modification was made, with adding the option in pubsub node configuration and modification of:
trim items order
items retrieval
notification of last published item
Modification of schema consisted of adding a parameter to pass information about the order in which items ids should be returned.
When an item is republished (new item published with the same id), it is not sent as the last published item as items are sorted by
creation_date
instead ofupdate_date
.Best solution would be to add a parameter (pubsub node option) to set order in which items should be sorted (by creation date or by update date).