aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Lib
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2022-01-08 18:57:59 +0000
committerMario <mario@mariovavti.com>2022-01-08 18:57:59 +0000
commitfc02e018cbe99f17b5b290f36b7d3cdbfe9ff729 (patch)
treea4c6dc15f7433e84ceb468fe8b430ffcfc771771 /Zotlabs/Lib
parentb14a530efb7aeb983f369535d56f62e32043ee39 (diff)
downloadvolse-hubzilla-fc02e018cbe99f17b5b290f36b7d3cdbfe9ff729.tar.gz
volse-hubzilla-fc02e018cbe99f17b5b290f36b7d3cdbfe9ff729.tar.bz2
volse-hubzilla-fc02e018cbe99f17b5b290f36b7d3cdbfe9ff729.zip
mark group actors as such in items and minor text change
Diffstat (limited to 'Zotlabs/Lib')
-rw-r--r--Zotlabs/Lib/AccessList.php2
-rw-r--r--Zotlabs/Lib/ThreadItem.php1
2 files changed, 2 insertions, 1 deletions
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 <strong>may</strong> 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 <strong>may</strong> 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,