Merge branch '2083-chatbot_login_on_auth_error' of verdnatura/salix into dev
gitea/salix/dev This commit looks good Details

This commit is contained in:
Joan Sanchez 2020-02-07 12:33:07 +00:00 committed by Gitea
commit d6e24d8319
1 changed files with 1 additions and 0 deletions

View File

@ -46,6 +46,7 @@ module.exports = Self => {
}).catch(async error => {
if (error.statusCode === 401 && !this.resendAttempted) {
this.resendAttempted = true;
this.auth = null;
return sendMessage(sender, channel, message);
}