Display a notification when there is a new message from the support team
This commit is contained in:
@@ -37,6 +37,13 @@ define([
|
||||
channel: dest.channel,
|
||||
curvePublic: dest.curvePublic
|
||||
});
|
||||
|
||||
if (ctx.isAdmin) {
|
||||
common.mailbox.sendTo('SUPPORT_MESSAGE', {}, {
|
||||
channel: dest.notifications,
|
||||
curvePublic: dest.curvePublic
|
||||
});
|
||||
}
|
||||
};
|
||||
|
||||
var sendForm = function (ctx, id, form, dest) {
|
||||
|
||||
Reference in New Issue
Block a user