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:
Mike Macgirvin 2023-10-10 06:08:54 +11:00
parent c7c769a24c
commit 3c2f178968
4 changed files with 4 additions and 4 deletions

View file

@ -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') {

View file

@ -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'];

View file

@ -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'];

View file

@ -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'];