mirror of
https://github.com/danog/telegram-tt.git
synced 2024-11-27 04:45:08 +01:00
Message Context Menu: Hide "Seen By" in scheduled messages (#1654)
This commit is contained in:
parent
e995a514de
commit
e7912b1433
@ -428,6 +428,7 @@ export default memo(withGlobal<OwnProps>(
|
||||
const canShowSeenBy = Boolean(chat
|
||||
&& isChatGroup(chat)
|
||||
&& isOwnMessage(message)
|
||||
&& !isScheduled
|
||||
&& chat.membersCount
|
||||
&& chat.membersCount < SEEN_BY_MEMBERS_CHAT_MAX
|
||||
&& message.date > Date.now() / 1000 - SEEN_BY_MEMBERS_EXPIRE);
|
||||
|
Loading…
Reference in New Issue
Block a user