Merge branch 'dev' of codeberg.org:streams/streams into dev

This commit is contained in:
Mike Macgirvin 2024-05-30 13:47:00 +10:00
commit d7a9e49a21
5 changed files with 6516 additions and 6490 deletions

View file

@ -16,7 +16,7 @@ If you wish to include the special characters ( \* or \_ ) without interpreting
[tr][td][nomd] __bold text__ [/nomd][/td][td] __bold text__ [/td][/tr]
[tr][td][nomd] ***bold and italic text*** [/nomd][/td][td] ***bold and italic text*** [/td][/tr]
[tr][td][nomd] ___bold and italic text___ [/nomd][/td][td] ___bold and italic text___ [/td][/tr]
[tr][td][nomd] ~~strike text~~ [/nomd][/td][td] ~~strike text~~ [/td][/tr]
[/table]
[h3]Headers[/h3]

View file

@ -422,13 +422,13 @@ class Notifier implements DaemonInterface
// map postopts to comment audience if applicable.
$audience = 0;
$postopts = explode(',', $target_item['postopts']);
if (in_array($postopts, 'sender')) {
if (in_array('sender', $postopts)) {
$audience += AUDIENCE_SENDER;
}
if (in_array($postopts, 'conversation')) {
if (in_array('conversation', $postopts)) {
$audience += AUDIENCE_CONVERSATION;
}
if (in_arrray($postopts, 'followers')) {
if (in_array('followers', $postopts)) {
$audience += AUDIENCE_FOLLOWERS;
}

Binary file not shown.

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff