aaa
This commit is contained in:
parent
87c06555ca
commit
9a4784a250
|
@ -213,11 +213,11 @@ public class Notifications {
|
|||
|
||||
try{
|
||||
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";
|
||||
if (result) {
|
||||
toReturn += disable ? " OFF ": " ON ";
|
||||
toReturn += "for username=" + username;
|
||||
toReturn += setting.isDisableNotification() ? " OFF ": " ON ";
|
||||
toReturn += "for username=" + setting.getUsername();
|
||||
}
|
||||
responseBean.setSuccess(true);
|
||||
responseBean.setResult(toReturn);
|
||||
|
|
Loading…
Reference in New Issue