Commit a6fb8cb
committed
refactor: Remove unnecessary code for handling contact not in WhatsApp
The code changes in `whatsapp.baileys.service.ts` remove the unnecessary code that handles the case when a contact is not in WhatsApp. The code was previously sending a notification to Chatwoot, but it is no longer needed. This change improves the code by removing unnecessary complexity.1 parent ec2b7f9 commit a6fb8cb
3 files changed
Lines changed: 20 additions & 36 deletions
File tree
- src
- api/integrations
- channel/whatsapp
- chatbot/chatwoot/services
- utils/translations
Lines changed: 0 additions & 11 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1898 | 1898 | | |
1899 | 1899 | | |
1900 | 1900 | | |
1901 | | - | |
1902 | | - | |
1903 | | - | |
1904 | | - | |
1905 | | - | |
1906 | | - | |
1907 | | - | |
1908 | | - | |
1909 | | - | |
1910 | | - | |
1911 | | - | |
1912 | 1901 | | |
1913 | 1902 | | |
1914 | 1903 | | |
| |||
Lines changed: 19 additions & 24 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1136 | 1136 | | |
1137 | 1137 | | |
1138 | 1138 | | |
1139 | | - | |
| 1139 | + | |
| 1140 | + | |
| 1141 | + | |
1140 | 1142 | | |
1141 | 1143 | | |
1142 | 1144 | | |
1143 | 1145 | | |
1144 | 1146 | | |
1145 | 1147 | | |
| 1148 | + | |
| 1149 | + | |
| 1150 | + | |
| 1151 | + | |
| 1152 | + | |
| 1153 | + | |
| 1154 | + | |
| 1155 | + | |
| 1156 | + | |
| 1157 | + | |
| 1158 | + | |
| 1159 | + | |
| 1160 | + | |
| 1161 | + | |
1146 | 1162 | | |
1147 | 1163 | | |
1148 | 1164 | | |
1149 | 1165 | | |
1150 | 1166 | | |
1151 | | - | |
| 1167 | + | |
1152 | 1168 | | |
1153 | 1169 | | |
1154 | 1170 | | |
| |||
1392 | 1408 | | |
1393 | 1409 | | |
1394 | 1410 | | |
1395 | | - | |
| 1411 | + | |
1396 | 1412 | | |
1397 | 1413 | | |
1398 | 1414 | | |
| |||
1852 | 1868 | | |
1853 | 1869 | | |
1854 | 1870 | | |
1855 | | - | |
1856 | | - | |
1857 | | - | |
1858 | | - | |
1859 | | - | |
1860 | | - | |
1861 | | - | |
1862 | | - | |
1863 | | - | |
1864 | | - | |
1865 | | - | |
1866 | | - | |
1867 | | - | |
1868 | | - | |
1869 | | - | |
1870 | | - | |
1871 | | - | |
1872 | | - | |
1873 | | - | |
1874 | | - | |
1875 | | - | |
1876 | 1871 | | |
1877 | 1872 | | |
1878 | 1873 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
6 | 5 | | |
7 | 6 | | |
8 | 7 | | |
| |||
23 | 22 | | |
24 | 23 | | |
25 | 24 | | |
| 25 | + | |
26 | 26 | | |
27 | 27 | | |
0 commit comments