Skip to content

Commit

Permalink
Use ARBITRATION instead of MEDIATION
Browse files Browse the repository at this point in the history
  • Loading branch information
chimp1984 committed Sep 2, 2019
1 parent 629a16f commit 3f885c2
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ public class DisputeChatSession extends ChatSession {

public DisputeChatSession(@Nullable Dispute dispute,
DisputeManager disputeManager) {
super(DisputeCommunicationMessage.Type.MEDIATION);
super(DisputeCommunicationMessage.Type.ARBITRATION);
this.dispute = dispute;
this.disputeManager = disputeManager;
}
Expand Down Expand Up @@ -136,7 +136,7 @@ public void dispatchMessage(DisputeMessage message) {
} else if (message instanceof PeerOpenedDisputeMessage) {
disputeManager.onPeerOpenedDisputeMessage((PeerOpenedDisputeMessage) message);
} else if (message instanceof DisputeCommunicationMessage) {
if (((DisputeCommunicationMessage) message).getType() != DisputeCommunicationMessage.Type.MEDIATION) {
if (((DisputeCommunicationMessage) message).getType() != DisputeCommunicationMessage.Type.ARBITRATION) {
log.debug("Ignore non dispute type communication message");
return;
}
Expand Down

0 comments on commit 3f885c2

Please sign in to comment.