mirror of
https://github.com/wassname/talk.git
synced 2026-09-09 11:38:08 +08:00
Fixes for notifications
This commit is contained in:
@@ -32,7 +32,10 @@ const handleHandlers = (ctx, handlers, ...args) =>
|
||||
// Attempt to create a notification out of it.
|
||||
const notification = await handle(ctx, ...args);
|
||||
if (!notification) {
|
||||
ctx.log.info('no notification deemed by event handler');
|
||||
ctx.log.info(
|
||||
{ category, event },
|
||||
'no notification deemed by event handler'
|
||||
);
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user