[fix] remove brackets from e-mail title (otherwise Gmail merge with old title)

This commit is contained in:
2020-05-09 12:12:59 +02:00
parent 46bb98f705
commit ee9e729718
5 changed files with 15 additions and 15 deletions

View File

@@ -44,16 +44,16 @@ export function ws2pWatcher(conf: Conf) {
conf.waitingDelay,
conf.recallDelay,
mail.onEstablished(conf, target, `[OK] WS2P on ${wserver.address}`),
mail.onEstablished(conf, target, `State OK WS2P on ${wserver.address}`),
// When a disconnection is detected
mail.onDisconnect(conf, target, `[FAILURE] WS2P on ${wserver.address}`),
mail.onDisconnect(conf, target, `State FAILURE WS2P on ${wserver.address}`),
async () => {
console.log('Trying to connect to %s', target)
},
mail.onRestartSuccess(conf, target, `[RECOVERED] WS2P on ${wserver.address}`),
mail.onRestartSuccess(conf, target, `State RECOVERED WS2P on ${wserver.address}`),
)
}