Cleans up mute state after mute expires

This commit is contained in:
Josh Perez 2020-09-30 20:43:24 -04:00 committed by Josh Perez
parent a581f6ea81
commit 9510fd1eec
7 changed files with 125 additions and 8 deletions

View file

@ -206,7 +206,7 @@ export class ConversationListItem extends React.PureComponent<Props> {
: null
)}
>
{muteExpiresAt && (
{muteExpiresAt && Date.now() < muteExpiresAt && (
<span className="module-conversation-list-item__muted" />
)}
{!isAccepted ? (