Commit d352da7f authored by Zot's avatar Zot Committed by Mario

provide auth determination for shares at post submission time

parent 6c5c6d88
......@@ -624,6 +624,7 @@ class Diaspora_Receiver {
. "' profile='" . $orig_author_link
. "' avatar='" . $orig_author_photo
. "' link='" . $orig_url
. "' auth='" . 'false'
. "' posted='" . datetime_convert('UTC','UTC',$this->get_property('created_at',$source_xml['status_message']))
. "' message_id='" . $this->get_property('guid',$source_xml['status_message'])
. "']" . $body . "[/share]";
......
......@@ -1260,6 +1260,7 @@ function as_announce_note($channel,$observer_hash,$act) {
"' profile='" . $act->sharee['xchan_url'] .
"' avatar='" . $act->sharee['xchan_photo_s'] .
"' link='" . $act->obj['url'] .
"' auth='" . ((is_matrix_url($act->obj['url'])) ? 'true' : 'false' ) .
"' posted='" . $act->obj['published'] .
"' message_id='" . $act->obj['id'] .
"']";
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment