forked from leftypol/leftypol
Merge pull request 'Fix #71 fix matrix report url fragment' (#105) from 71-incorrect-fragment into config
Reviewed-on: leftypol/leftypol#105
This commit is contained in:
commit
041958e20f
1 changed files with 1 additions and 1 deletions
2
post.php
2
post.php
|
@ -221,7 +221,7 @@ function send_matrix_report(
|
|||
|
||||
$end = strlen($post['body_nomarkup']) > $max_msg_len ? ' [...]' : '';
|
||||
$post_content = mb_substr($post['body_nomarkup'], 0, $max_msg_len) . $end;
|
||||
$text_body = $reported_post_url . ($post['thread'] ? "#$post_id" : '') . " \nReason:\n" . $report_reason . " \nPost:\n" . $post_content;
|
||||
$text_body = $reported_post_url . ($post['thread'] ? "#$id" : '') . " \nReason:\n" . $report_reason . " \nPost:\n" . $post_content;
|
||||
|
||||
$random_transaction_id = mt_rand();
|
||||
$json_body = json_encode([
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue