mirror of
https://github.com/nextcloud/ocsms.git
synced 2026-08-23 06:13:09 +00:00
Move generateUrl to Sms object, add SmsSettings::init & drop it from angular app
This commit is contained in:
@@ -21,6 +21,10 @@ var SmsNotifications = {
|
||||
});
|
||||
},
|
||||
notify: function (message) {
|
||||
if (!SmsSettings.enableNotifications) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (!("Notification" in window)) {
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user