mirror of
https://github.com/danog/telegram-tt.git
synced 2024-11-27 04:45:08 +01:00
Reactions: Fix overflow with buttons; Interactions: Handle Saved Messages (#1675)
This commit is contained in:
parent
6142f1c44e
commit
f3b0b75e4e
@ -47,6 +47,8 @@
|
||||
|
||||
&.chosen {
|
||||
border-color: var(--accent-color);
|
||||
position: relative;
|
||||
z-index: 1;
|
||||
}
|
||||
|
||||
&:hover {
|
||||
|
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user