mirror of
https://codeberg.org/streams/streams.git
synced 2024-09-20 08:35:14 +00:00
don't auto-insert mentions in Zap comments
This commit is contained in:
parent
9f5520325f
commit
9238ec9f68
1 changed files with 2 additions and 2 deletions
|
@ -468,7 +468,7 @@ class ThreadItem {
|
|||
if($observer && ($profile_addr === $observer['xchan_hash'] || $profile_addr === $observer['xchan_addr'])) {
|
||||
$add_top_author = false;
|
||||
}
|
||||
if($add_top_author) {
|
||||
if($add_top_author && (! defined('NOMADIC'])) {
|
||||
$result['authors'][] = $profile_addr;
|
||||
}
|
||||
|
||||
|
@ -492,7 +492,7 @@ class ThreadItem {
|
|||
if($observer && ($author === $observer['xchan_hash'] || $author === $observer['xchan_addr'])) {
|
||||
// do nothing
|
||||
}
|
||||
else {
|
||||
elseif(! defined('NOMADIC')) {
|
||||
$result['authors'][] = $author;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue