aaa
This commit is contained in:
parent
87c06555ca
commit
9a4784a250
|
@ -213,11 +213,11 @@ public class Notifications {
|
||||||
|
|
||||||
try{
|
try{
|
||||||
String opExecutor = caller.getClient().getId();
|
String opExecutor = caller.getClient().getId();
|
||||||
Boolean result = setUserNotificationsOnOff(username, disable, opExecutor);
|
Boolean result = setUserNotificationsOnOff(setting.getUsername(), setting.isDisableNotification(), opExecutor);
|
||||||
String toReturn = "Notifications have been set";
|
String toReturn = "Notifications have been set";
|
||||||
if (result) {
|
if (result) {
|
||||||
toReturn += disable ? " OFF ": " ON ";
|
toReturn += setting.isDisableNotification() ? " OFF ": " ON ";
|
||||||
toReturn += "for username=" + username;
|
toReturn += "for username=" + setting.getUsername();
|
||||||
}
|
}
|
||||||
responseBean.setSuccess(true);
|
responseBean.setSuccess(true);
|
||||||
responseBean.setResult(toReturn);
|
responseBean.setResult(toReturn);
|
||||||
|
|
Loading…
Reference in New Issue