Skip to content

Commit

Permalink
Merge pull request #4525 from rdjuric/growlOnInvalidNumber
Browse files Browse the repository at this point in the history
Show a growl when trying to create a chat with an invalid phone number
  • Loading branch information
Beamanator authored Aug 11, 2021
2 parents 3d46e27 + a45dcba commit 83dd58e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/libs/actions/Report.js
Original file line number Diff line number Diff line change
Expand Up @@ -855,6 +855,7 @@ function fetchOrCreateChatReport(participants, shouldNavigate = true) {
.then((data) => {
if (data.jsonCode !== 200) {
console.error(data.message);
Growl.error(data.message);
return;
}

Expand Down

0 comments on commit 83dd58e

Please sign in to comment.