]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - actions/apiaccountupdatedeliverydevice.php
Merge branch '0.9.x' into 1.0.x
[quix0rs-gnu-social.git] / actions / apiaccountupdatedeliverydevice.php
index 05d19c22dea8d63ab5e3ee849daafe88d1df8f19..d42d25a6180be75d7ec211d11a0fb82f4e5acdcd 100644 (file)
@@ -119,10 +119,16 @@ class ApiAccountUpdateDeliveryDeviceAction extends ApiAuthAction
         if (strtolower($this->device) == 'sms') {
             $this->user->smsnotify = true;
         } elseif (strtolower($this->device) == 'im') {
-            $this->user->jabbernotify = true;
+            //TODO IM is pluginized now, so what should we do?
+            //Enable notifications for all IM plugins?
+            //For now, don't do anything
+            //$this->user->jabbernotify = true;
         } elseif (strtolower($this->device == 'none')) {
             $this->user->smsnotify    = false;
-            $this->user->jabbernotify = false;
+            //TODO IM is pluginized now, so what should we do?
+            //Disable notifications for all IM plugins?
+            //For now, don't do anything
+            //$this->user->jabbernotify = false;
         }
 
         $result = $this->user->update($original);