discourse/plugins
Joffrey JAFFEUX f20be4b092
FIX: prevents subscribing with an old id (#21509)
This issue was for example possibly causing the last visit indicator to be reset by `sent` messages events.

The following was happening:
- a user (bob) had a last message bus ID of 1 on a channel (id:1) subscription
- bob then go to another channel (id:2), unsubscribing from updates of channel (id:1)
- another user (laura) then send messages to channel (id:1)
- bob goes back to channel (id:1)

At this point we we doing in the same sequence:
- loading channel with messages, getting a new last message bus id
- subscribing to updates using the last known message bus id

Most of the times we were lucky enough for this to work (no events while away, or just got the new id in time...) but it was also very likely to do a double fetch of messages as MessageBus would think we were late.
2023-05-11 22:27:48 +02:00
..
chat FIX: prevents subscribing with an old id (#21509) 2023-05-11 22:27:48 +02:00
discourse-details Update translations (#21055) 2023-04-11 15:45:03 +02:00
discourse-lazy-videos FIX: Remove double escaped Vimeo titles (#21368) 2023-05-04 07:54:00 -03:00
discourse-local-dates DEV: Support @debounce decorator in native class syntax (#20521) 2023-03-03 11:48:58 +00:00
discourse-narrative-bot Update translations (#21145) 2023-04-25 17:23:21 +02:00
discourse-presence Update translations (#20370) 2023-02-20 11:01:01 +01:00
poll Revert "DEV: Add configurable? helper to Plugin::Instance (#20767)" (#21469) 2023-05-10 12:41:55 +02:00
styleguide Update translations (#21145) 2023-04-25 17:23:21 +02:00