Reactions: Fix overflow with buttons; Interactions: Handle Saved Messages (#1675)
This commit is contained in:
parent
6142f1c44e
commit
f3b0b75e4e
@ -47,6 +47,8 @@
|
|||||||
|
|
||||||
&.chosen {
|
&.chosen {
|
||||||
border-color: var(--accent-color);
|
border-color: var(--accent-color);
|
||||||
|
position: relative;
|
||||||
|
z-index: 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
&:hover {
|
&:hover {
|
||||||
|
|||||||
@ -63,7 +63,7 @@ addReducer('sendEmojiInteraction', (global, actions, payload) => {
|
|||||||
|
|
||||||
const chat = selectChat(global, chatId);
|
const chat = selectChat(global, chatId);
|
||||||
|
|
||||||
if (!chat || (!emoji && !localEffect)) {
|
if (!chat || (!emoji && !localEffect) || chatId === global.currentUserId) {
|
||||||
return undefined;
|
return undefined;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -255,7 +255,7 @@ addReducer('sendWatchingEmojiInteraction', (global, actions, payload) => {
|
|||||||
|
|
||||||
const chat = selectChat(global, chatId);
|
const chat = selectChat(global, chatId);
|
||||||
|
|
||||||
if (!chat || !global.activeEmojiInteraction) {
|
if (!chat || !global.activeEmojiInteraction || chatId === global.currentUserId) {
|
||||||
return undefined;
|
return undefined;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user