Projects tigase _server tigase-pubsub Issues #87
Items returned in creation order (#87)
Closed
Andrzej Wójcik (Tigase) opened 5 years ago

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.

issue 1 of 1
Type
Bug
Priority
Normal
Assignee
Spent time
5h 45m
Issue Votes (0)
Watchers (0)
Reference
tigase/_server/tigase-pubsub#87
Please wait...
Page is in error, reload to recover