From fc02e018cbe99f17b5b290f36b7d3cdbfe9ff729 Mon Sep 17 00:00:00 2001 From: Mario Date: Sat, 8 Jan 2022 18:57:59 +0000 Subject: mark group actors as such in items and minor text change --- Zotlabs/Lib/AccessList.php | 2 +- Zotlabs/Lib/ThreadItem.php | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'Zotlabs') diff --git a/Zotlabs/Lib/AccessList.php b/Zotlabs/Lib/AccessList.php index f47440714..a073d5946 100644 --- a/Zotlabs/Lib/AccessList.php +++ b/Zotlabs/Lib/AccessList.php @@ -23,7 +23,7 @@ class AccessList { ); if (($z) && $z[0]['deleted']) { q('UPDATE pgrp SET deleted = 0 WHERE id = %d', intval($z[0]['id'])); - notice(t('A deleted list with this name was revived. Existing item permissions may apply to this list and any future members. If this is not what you intended, please create another list with a different name.') . EOL); + notice(t('A deleted privacy group with this name was revived. Existing item permissions may apply to this privacy group and any future members. If this is not what you intended, please create another privacy group with a different name.') . EOL); } $hash = self::by_id($uid, $r); return $hash; diff --git a/Zotlabs/Lib/ThreadItem.php b/Zotlabs/Lib/ThreadItem.php index e7cb2d5de..4675df04e 100644 --- a/Zotlabs/Lib/ThreadItem.php +++ b/Zotlabs/Lib/ThreadItem.php @@ -424,6 +424,7 @@ class ThreadItem { 'mids' => $json_mids, 'parent' => $item['parent'], 'author_id' => (($item['author']['xchan_addr']) ? $item['author']['xchan_addr'] : $item['author']['xchan_url']), + 'author_is_group_actor' => (($item['author']['xchan_pubforum']) ? t('Forum') : ''), 'isevent' => $isevent, 'attend' => $attend, 'consensus' => $consensus, -- cgit v1.2.3