]> git.mxchange.org Git - friendica.git/blobdiff - include/socgraph.php
add event action: duplicate events
[friendica.git] / include / socgraph.php
index 081290d8106448b82b69e928d5bfdf92655b8468..f0a855d70c9d91412bca5c480af4a5a5b2055f18 100644 (file)
@@ -1158,8 +1158,9 @@ function poco_check_server($server_url, $network = "", $force = false) {
                                $network = NETWORK_OSTATUS;
                        }
                }
-               if (strstr($orig_version, 'Pleroma')) {
+               if (strstr($orig_version.$version, 'Pleroma')) {
                        $platform = 'Pleroma';
+                       $version = trim(str_replace('Pleroma', '', $version));
                }
        }