Skip to content
This repository has been archived by the owner on Jun 7, 2020. It is now read-only.

Commit

Permalink
Upadate AddDirectMessageDialogFragment.java
Browse files Browse the repository at this point in the history
  • Loading branch information
philipbrito committed Aug 18, 2017
1 parent 14ddab8 commit 5c8721d
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,7 @@ private void setupView(Optional<RocketChatAbsoluteUrl> rocketChatAbsoluteUrlOpti
protected Task<Void> getMethodCallForSubmitAction() {
String username =
((TextView) getDialog().findViewById(R.id.editor_username)).getText().toString();
return methodCall.createDirectMessage(username);
return methodCall.createDirectMessage(username)
.onSuccess(task -> null);
}
}

0 comments on commit 5c8721d

Please sign in to comment.