Reactions: Fix overflow with buttons; Interactions: Handle Saved Messages (#1675)

This commit is contained in:
Alexander Zinchuk 2022-01-28 20:59:36 +01:00
parent 6142f1c44e
commit f3b0b75e4e
2 changed files with 4 additions and 2 deletions

View File

@ -47,6 +47,8 @@
&.chosen {
border-color: var(--accent-color);
position: relative;
z-index: 1;
}
&:hover {

View File

@ -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;
}