Re-pin a conversation after undoing archival

Fixes #6968.
This commit is contained in:
Vincent 2024-08-09 00:02:43 +02:00
parent faea93e5ce
commit 606103be8d
No known key found for this signature in database
4 changed files with 19 additions and 5 deletions

View file

@ -52,7 +52,10 @@ function getToast(toastType: ToastType): AnyToast {
case ToastType.ConversationArchived:
return {
toastType: ToastType.ConversationArchived,
parameters: { conversationId: 'some-conversation-id' },
parameters: {
conversationId: 'some-conversation-id',
wasPinned: false,
},
};
case ToastType.ConversationMarkedUnread:
return { toastType: ToastType.ConversationMarkedUnread };