Commit 08a4795
committed
fix: respect DATABASE_SAVE_DATA_CONTACTS in contact updates
- Added missing conditional checks for `DATABASE_SAVE_DATA_CONTACTS` in `contacts.upsert` and `contacts.update` handlers.
- Fixed an issue where profile picture updates were attempting to save to the database even when disabled.
- Fixed an unawaited promise in `contacts.upsert` to ensure database operations complete correctly.1 parent 53a94af commit 08a4795
File tree
1 file changed
+1
-4
lines changed- src/api/integrations/channel/whatsapp
1 file changed
+1
-4
lines changedLines changed: 1 addition & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
839 | 839 | | |
840 | 840 | | |
841 | 841 | | |
842 | | - | |
843 | 842 | | |
844 | | - | |
| 843 | + | |
845 | 844 | | |
846 | 845 | | |
847 | 846 | | |
| |||
865 | 864 | | |
866 | 865 | | |
867 | 866 | | |
868 | | - | |
869 | | - | |
870 | 867 | | |
871 | 868 | | |
872 | 869 | | |
| |||
0 commit comments