Commit 5d89139411ad7a043e6f21f65751414c7508fcf8

Authored by Adhidarma Hadiwinoto
1 parent d04cee6519
Exists in master

TRANSPORT: ignore outbox "sdg DIPROSES"

Showing 1 changed file with 2 additions and 0 deletions Side-by-side Diff

... ... @@ -13,6 +13,8 @@ async function send(partner, msg) {
13 13  
14 14 if (!destination || !Number(destination) || destination.length < 8) return;
15 15  
  16 + if (msg.trim().search(/sdg DIPROSES$/) >= 0) return;
  17 +
16 18 const msgFileContent = `
17 19 To: ${destination}
18 20