Send to user when no department channel is specified
gitea/salix/pipeline/head This commit looks good Details

This commit is contained in:
Joan Sanchez 2022-04-12 14:44:32 +02:00
parent b13f526726
commit 62daa6b38d
1 changed files with 2 additions and 0 deletions

View File

@ -58,6 +58,8 @@ module.exports = Self => {
if (channelName) if (channelName)
return Self.send(ctx, `#${channelName}`, `@${recipient.name}${message}`); return Self.send(ctx, `#${channelName}`, `@${recipient.name}${message}`);
else
return Self.send(ctx, `@${recipient.name}`, message);
} else } else
return Self.send(ctx, `@${recipient.name}`, message); return Self.send(ctx, `@${recipient.name}`, message);
} }