Skip to content

Commit 3423010

Browse files
authored
Merge pull request #2 from 12425/master
Add package name in JSON.
2 parents a6f3a31 + 1e46cba commit 3423010

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

client/src/main/java/net/kzxiv/notify/client/NotificationService.java

+2
Original file line numberDiff line numberDiff line change
@@ -254,6 +254,8 @@ private final Object[] getPayloadJson(String packageName, Notification notificat
254254
{
255255
if (title != null)
256256
result.put("title", title);
257+
if (packageName != null)
258+
result.put("package", packageName);
257259
if (text != null || iconSm != null || iconLg != null)
258260
{
259261
JSONObject options = new JSONObject();

0 commit comments

Comments
 (0)