]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - plugins/OStatus/OStatusPlugin.php
Check that the user is in the context of a salmon slap
[quix0rs-gnu-social.git] / plugins / OStatus / OStatusPlugin.php
index 6f6a22bf4dd9ae17c0c52bbcc637bbaae9bd95d3..c108e78e6c13a262bf446c60271ede6400c2a39c 100644 (file)
@@ -285,6 +285,7 @@ class OStatusPlugin extends Plugin
     {
         $matches = array();
 
+        $wmatches = array();
         // Webfinger matches: @user@example.com or even @user--one.george_orwell@1984.biz
         if (preg_match_all('!(?:^|\s+)@((?:\w+[\w\-\_\.]?)*(?:[\w\-\_\.]*\w+)@(?:\w+\-?\w+\.)*\w+(?:\w+\-\w+)*\.\w+)!',
                        $text,