mirror of
https://codeberg.org/streams/streams.git
synced 2024-09-20 00:55:19 +00:00
bullhorn emoji isn't supported on some fonts, so use public addresss loudspeaker instead. Looks like the same thing to me.
This commit is contained in:
parent
c7c769a24c
commit
3c2f178968
4 changed files with 4 additions and 4 deletions
|
@ -3089,7 +3089,7 @@ class Activity
|
|||
}
|
||||
|
||||
if ($act->type === 'Announce') {
|
||||
$content['content'] = sprintf(t('🔁 Repeated %1$s\'s %2$s'), $mention, $object_type);
|
||||
$content['content'] = sprintf(t('📢 Repeated %1$s\'s %2$s'), $mention, $object_type);
|
||||
}
|
||||
|
||||
if ($act->type === 'emojiReaction') {
|
||||
|
|
|
@ -123,7 +123,7 @@ class Share
|
|||
$arr['parent_mid'] = $this->item['mid'];
|
||||
|
||||
$mention = '@[zrl=' . $this->item['author']['xchan_url'] . ']' . $this->item['author']['xchan_name'] . '[/zrl]';
|
||||
$arr['body'] = sprintf(t('🔁 Repeated %1$s\'s %2$s'), $mention, $this->item['obj_type']);
|
||||
$arr['body'] = sprintf(t('📢 Repeated %1$s\'s %2$s'), $mention, $this->item['obj_type']);
|
||||
|
||||
$arr['author_xchan'] = $observer['xchan_hash'];
|
||||
$arr['owner_xchan'] = $this->item['author_xchan'];
|
||||
|
|
|
@ -116,7 +116,7 @@ class Share extends Controller
|
|||
$arr['parent_mid'] = $item['mid'];
|
||||
|
||||
$mention = '@[zrl=' . $item['author']['xchan_url'] . ']' . $item['author']['xchan_name'] . '[/zrl]';
|
||||
$arr['body'] = sprintf(t('🔁 Repeated %1$s\'s %2$s'), $mention, $item['obj_type']);
|
||||
$arr['body'] = sprintf(t('📢 Repeated %1$s\'s %2$s'), $mention, $item['obj_type']);
|
||||
|
||||
$arr['author_xchan'] = $channel['channel_hash'];
|
||||
$arr['owner_xchan'] = $item['author_xchan'];
|
||||
|
|
|
@ -3167,7 +3167,7 @@ function start_delivery_chain($channel, $item, $item_id, bool|array $parent, $gr
|
|||
if (is_array($arr['obj'])) {
|
||||
$obj_actor = ((isset($arr['obj']['actor'])) ? $arr['obj']['actor'] : $arr['obj']['attributedTo']);
|
||||
$mention = Activity::get_actor_bbmention($obj_actor);
|
||||
$arr['body'] = sprintf( t('🔁 Repeated %1$s\'s %2$s'), $mention, $arr['obj']['type']);
|
||||
$arr['body'] = sprintf( t('📢 Repeated %1$s\'s %2$s'), $mention, $arr['obj']['type']);
|
||||
}
|
||||
|
||||
$arr['author_xchan'] = $channel['channel_hash'];
|
||||
|
|
Loading…
Reference in a new issue