c5aa6b5e16
The previous query would look at the existing messages, count them, and update the associated thread. But, if for some reason messages were **ALL** deleted without updating the `replies_count`, then the query wouldn't find any message, and wouldn't update any thread's `replies_count`. |
||
---|---|---|
.. | ||
controllers/chat | ||
helpers/chat | ||
jobs | ||
models | ||
policies | ||
queries/chat | ||
serializers/chat | ||
services | ||
validators/chat | ||
views |