Sitelet https://github.com/studentyb/java/commit/d78b121ebf9b07878eedbc67a25da7c1719ce3d8
Skip to content

Commit d78b121

Browse files
committed
Fix for callback not being added in the arguments in PubnubCore.publish()
1 parent 70cadf8 commit d78b121

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)