Skip to content

Commit

Permalink
ignore voip signal message
Browse files Browse the repository at this point in the history
  • Loading branch information
heavyrain2012 committed Oct 22, 2020
1 parent 51ec401 commit 30d2e88
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/main/java/cn/wildfirechat/app/ServiceImpl.java
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,9 @@ public RestResult onReceiveMessage(SendMessageData messageData) {
} catch (Exception e) {
e.printStackTrace();
}
} else if(messageData.getPayload().getType() > 400 && messageData.getPayload().getType() < 500) {
//voip signal message, ignore it
return RestResult.ok();
}

if(localResponse) {
Expand Down

0 comments on commit 30d2e88

Please sign in to comment.