fix(sms): send response when de recipient is the same as the emisor
gitea/salix/pipeline/head This commit looks good Details

This commit is contained in:
Joan Sanchez 2022-04-06 13:44:11 +02:00
parent 4be3f9c00f
commit cd098235bb
1 changed files with 2 additions and 0 deletions

View File

@ -32,6 +32,8 @@ module.exports = Self => {
if (sender.name != recipient)
return sendMessage(sender, to, message);
return false;
};
async function sendMessage(sender, channel, message) {