You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is somewhat something bigger - and messier.
The notifications seem to be handled / created in packages/rocketchat-lib/server/lib/sendNotificationsOnMessage.js
The core is a callback RocketChat.callbacks.add('afterSaveMessage', function(message, room, userId) {.
This callback contains a huge list of decisions when to notify whom. This is based on subscriptions.
In the case of livechat however, there are may be no subscriptions by the time a message is sent: The guest needs to be assigned to an agent first.
Thus, a similar logic needs to be implemented which adds a callback and either notifies the agent at hand or all agents online (in the guest pool mode).
Since RC seems to be working on an urgent fix, I'm not investigating further here
RocketChat#10074
The text was updated successfully, but these errors were encountered: