Skip to content
Snippets Groups Projects
Commit 174bc989 authored by srosse's avatar srosse
Browse files

OO-4354: solutions notifications for group tasks

parent e0d59693
No related branches found
No related tags found
No related merge requests found
...@@ -708,16 +708,26 @@ class GTANotifications { ...@@ -708,16 +708,26 @@ class GTANotifications {
solution.getName(), solution.getName(),
author author
}; };
appendSubscriptionItemForFile("notifications.solution.task", params, assessedIdentity, if(group != null) {
"[solution:0]" , solution, date, false); appendSubscriptionItemForFile("notifications.solution.task", params, group,
"[solution:0]", solution, date, false);
} else {
appendSubscriptionItemForFile("notifications.solution.task", params, assessedIdentity,
"[solution:0]" , solution, date, false);
}
} else { } else {
String[] params = new String[] { String[] params = new String[] {
displayName, displayName,
solution.getName(), solution.getName(),
author author
}; };
appendSubscriptionItemForFile("notifications.solution", params, assessedIdentity, if(group != null) {
"[solution:0]" , solution, date, false); appendSubscriptionItemForFile("notifications.solution", params, group,
"[solution:0]" , solution, date, false);
} else {
appendSubscriptionItemForFile("notifications.solution", params, assessedIdentity,
"[solution:0]" , solution, date, false);
}
} }
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment