]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - actions/shownotice.php
Associate request tokens with OAuth apps and app users
[quix0rs-gnu-social.git] / actions / shownotice.php
index 5d16fdad9ed84a4706d759c04f9d681ab37ac760..d09100f676aaf473e46e54aadd409f6ff1b1eb0c 100644 (file)
@@ -103,7 +103,7 @@ class ShownoticeAction extends OwnerDesignAction
 
         $this->user = User::staticGet('id', $this->profile->id);
 
-        if (! $this->notice->is_local) {
+        if ($this->notice->is_local == Notice::REMOTE_OMB) {
             common_redirect($this->notice->uri);
             return false;
         }