Skip to content

Commit

Permalink
Fix group change failure reason display logic.
Browse files Browse the repository at this point in the history
  • Loading branch information
alan-signal authored and greyson-signal committed Jul 23, 2020
1 parent f0063b4 commit dfa4f0c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1013,7 +1013,7 @@ private void handleSelectMessageExpiration() {
return GroupChangeResult.SUCCESS;
},
(changeResult) -> {
if (changeResult.isSuccess()) {
if (!changeResult.isSuccess()) {
Toast.makeText(ConversationActivity.this, GroupErrors.getUserDisplayMessage(changeResult.getFailureReason()), Toast.LENGTH_SHORT).show();
} else {
invalidateOptionsMenu();
Expand Down

0 comments on commit dfa4f0c

Please sign in to comment.