Skip to content

Commit

Permalink
fix: clear pinned message in mweb
Browse files Browse the repository at this point in the history
  • Loading branch information
KaustubhKumar05 authored Nov 20, 2023
1 parent 0caf242 commit b778f18
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ export const Chat = ({ screenType }) => {
{isLocalPeerBlacklisted ? <ChatBlocked /> : null}

{isMobile && elements?.chat?.is_overlay && elements?.chat?.allow_pinning_messages ? (
<PinnedMessage clearPinnedMessage={removePinnedMessage} />
<PinnedMessage clearPinnedMessage={index => removePinnedMessage(pinnedMessages, index)} />
) : null}

{isChatEnabled && !isLocalPeerBlacklisted ? (
Expand Down

0 comments on commit b778f18

Please sign in to comment.