mirror of
https://github.com/h3poteto/whalebird-desktop
synced 2025-02-03 18:57:43 +01:00
Merge pull request #4700 from h3poteto/iss-4653/emoji
refs #4653 Show emoji reactions
This commit is contained in:
commit
403a54c5a6
@ -74,6 +74,12 @@ export default function Status(props: Props) {
|
||||
{status.poll && <Poll poll={status.poll} onRefresh={onRefresh} client={props.client} />}
|
||||
{status.card && <Card card={status.card} />}
|
||||
<Media media={status.media_attachments} sensitive={status.sensitive} openMedia={props.openMedia} />
|
||||
{status.emoji_reactions &&
|
||||
status.emoji_reactions.map(e => (
|
||||
<button key={e.name} className="py-1">
|
||||
{e.url ? <img src={e.url} style={{ height: '24px' }} /> : <span>{e.name}</span>}
|
||||
</button>
|
||||
))}
|
||||
</>
|
||||
)}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user