]> git.mxchange.org Git - friendica-addons.git/blobdiff - statusnet/statusnet.php
use https for link and image
[friendica-addons.git] / statusnet / statusnet.php
index febe4032f19d1c7f4566fdd43295f40e4b0e1833..bc9bc125f4a1ffb0a3f0e25470049eefd3f14a9a 100644 (file)
@@ -872,8 +872,9 @@ function statusnet_fetchtimeline($a, $uid) {
                        $_REQUEST["source"] = $post->source;
                        $_REQUEST["extid"] = NETWORK_STATUSNET;
 
-                       if (isset($post->id))
-                               $_REQUEST['message_id'] = NETWORK_STATUSNET.":".$post->id;
+                       if (isset($post->id)) {
+                               $_REQUEST['message_id'] = item_new_uri($a->get_hostname(), $uid, NETWORK_STATUSNET.":".$post->id);
+                       }
 
                        //$_REQUEST["date"] = $post->created_at;