Skip to content

Commit

Permalink
fix(thread-archive): remove isArchived mapping from threads
Browse files Browse the repository at this point in the history
  • Loading branch information
Nurguly Ashyrov committed Apr 4, 2024
1 parent 2f909d5 commit 21ad8bc
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/mappers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,6 @@ export const mapThread = (conversation: Conversation, currentUser: TumblrUserInf
lastReadMessageID,
/** If true, messages cannot be sent in the thread */
isReadOnly: !conversation.canSend,
isArchived: conversation.status === 'INACTIVE',
type: 'single',
/** If null, thread won't be visible to the user in the UI unless they explicitly search for it */
timestamp: new Date(conversation.lastModifiedTs),
Expand Down

0 comments on commit 21ad8bc

Please sign in to comment.