Commit 94fa9a1420dc79406141426734ef1b2bc806a710
1 parent
5b9249715d
Exists in
master
Fix saving outgoing message
Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff
lib/http-listener.js
... | ... | @@ -33,7 +33,7 @@ function mainHandler(req, res) { |
33 | 33 | if (!req.body) req.body = {}; |
34 | 34 | |
35 | 35 | if ( |
36 | - ( !req.body.partner || !req.query.partner ) | |
36 | + ( !req.body.partner && !req.query.partner ) | |
37 | 37 | && |
38 | 38 | ( |
39 | 39 | ( (!req.query.is_outgoing && !req.body.is_outgoing) && (!req.query.from && !req.body.from) ) |