feat: add reactions

This commit is contained in:
Paul Makles
2022-07-16 15:17:02 +01:00
parent dbe8a64ffc
commit 084c90613f
7 changed files with 95 additions and 20 deletions

View File

@@ -25,6 +25,7 @@ import MessageBase, {
} from "./MessageBase";
import Attachment from "./attachments/Attachment";
import { MessageReply } from "./attachments/MessageReply";
import { Reactions } from "./attachments/Reactions";
import { MessageOverlayBar } from "./bars/MessageOverlayBar";
import Embed from "./embed/Embed";
import InviteList from "./embed/EmbedInvite";
@@ -180,6 +181,7 @@ const Message = observer(
{message.embeds?.map((embed, index) => (
<Embed key={index} embed={embed} />
))}
<Reactions message={message} />
{mouseHovering &&
!replacement &&
!isTouchscreenDevice && (