Sitelet https://github.com/codeEli/java/commit/250629a861bd4e5efbb6e452ca95b8ad47257fc5
Skip to content

Commit 250629a

Browse files
committed
Merge pull request #27 from ntoskrnl/master
Fix for callback not being added in the arguments in PubnubCore.publish()
2 parents 205e92e + d78b121 commit 250629a

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎java/srcPubnubApi/com/pubnub/api/PubnubCore.java‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -631,6 +631,7 @@ public void publish(String channel, JSONObject message, boolean storeInHistory,
631631
Hashtable args = new Hashtable();
632632
args.put("channel", channel);
633633
args.put("message", message);
634+
args.put("callback", callback);
634635
args.put("storeInHistory", (storeInHistory)?"":"0");
635636
publish(args);
636637
}

0 commit comments

Comments
 (0)