Skip to content
This repository has been archived by the owner on Feb 18, 2024. It is now read-only.

Commit

Permalink
Merge pull request #94 from plan5/fix-audio-message
Browse files Browse the repository at this point in the history
Fix audio/voice message (replaces PR 93)
  • Loading branch information
farooqkz authored Feb 1, 2024
2 parents a62afd5 + 8b21c0b commit ab9dc2a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/MessageItems/IRCLikeMessageItem/IRCLikeMessageItem.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ function IRCLikeMessageItemAudio({
Duration: {createTextVNode(msToHigherScale(duration))}
<br />
Size: {createTextVNode(bytesToHigherScale(size))}
<audio src={url} autoPlay={false} />
<audio src={url} />
</p>
</div>
);
Expand Down Expand Up @@ -266,7 +266,7 @@ function IRCLikeMessageItem({
text={content.body}
duration={content.info.duration}
size={content.info.size}
url={content.url.content_uri}
url={content.url}
status={status}
isFocused={isFocused}
/>
Expand Down

0 comments on commit ab9dc2a

Please sign in to comment.