Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
NaikSoftware committed Dec 27, 2017
1 parent ccb87f6 commit 3c10dc4
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -131,9 +131,9 @@ public Flowable<Void> send(String destination, String data) {
public Flowable<Void> send(StompMessage stompMessage) {
Flowable<Void> flowable = mConnectionProvider.send(stompMessage.compile());
if (!mConnected) {
ConnectableFlowable<Void> deffered = flowable.publish();
mWaitConnectionFlowables.add(deffered);
return deffered;
ConnectableFlowable<Void> deferred = flowable.publish();
mWaitConnectionFlowables.add(deferred);
return deferred;
} else {
return flowable;
}
Expand Down

0 comments on commit 3c10dc4

Please sign in to comment.