short-term solution to emoji size issue - make them 32px from the sender

This commit is contained in:
redmatrix 2016-06-04 15:53:30 -07:00
parent 2c7ce20ccf
commit a0d339f208

View File

@ -35,7 +35,7 @@ class React extends \Zotlabs\Web\Controller {
$n['parent_mid'] = $i[0]['mid']; $n['parent_mid'] = $i[0]['mid'];
$n['mid'] = item_message_id(); $n['mid'] = item_message_id();
$n['verb'] = ACTIVITY_REACT . '#' . $emoji; $n['verb'] = ACTIVITY_REACT . '#' . $emoji;
$n['body'] = "\n\n[zmg]" . z_root() . '/images/emoji/' . $emoji . '.png[/zmg]' . "\n\n"; $n['body'] = "\n\n[zmg=32x32]" . z_root() . '/images/emoji/' . $emoji . '.png[/zmg]' . "\n\n";
$n['author_xchan'] = $channel['channel_hash']; $n['author_xchan'] = $channel['channel_hash'];
$x = item_store($n); $x = item_store($n);