diff --git a/src/components/middle/message/Reactions.scss b/src/components/middle/message/Reactions.scss index 6e044ff1..eaa47e9a 100644 --- a/src/components/middle/message/Reactions.scss +++ b/src/components/middle/message/Reactions.scss @@ -47,6 +47,8 @@ &.chosen { border-color: var(--accent-color); + position: relative; + z-index: 1; } &:hover { diff --git a/src/modules/actions/api/reactions.ts b/src/modules/actions/api/reactions.ts index 02f7c556..ceea8055 100644 --- a/src/modules/actions/api/reactions.ts +++ b/src/modules/actions/api/reactions.ts @@ -63,7 +63,7 @@ addReducer('sendEmojiInteraction', (global, actions, payload) => { const chat = selectChat(global, chatId); - if (!chat || (!emoji && !localEffect)) { + if (!chat || (!emoji && !localEffect) || chatId === global.currentUserId) { return undefined; } @@ -255,7 +255,7 @@ addReducer('sendWatchingEmojiInteraction', (global, actions, payload) => { const chat = selectChat(global, chatId); - if (!chat || !global.activeEmojiInteraction) { + if (!chat || !global.activeEmojiInteraction || chatId === global.currentUserId) { return undefined; }