mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-03-07 21:21:18 +01:00
Added `event:post_moved` event so when you move a post you have top and bottom post counters updated. No new function needed, linked to `onPostPurged` function, because it do the same work for `event:topic_purged`. Added `from_tid` to socket data to handle new event `event:post_moved` and also added `websocket.in(...` to emit just implemented client side event `event:post_moved` so top and bottom counters are updated in real time when a post is moved. (see other commits #4145 #4146 #4147 ).