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