Coming from here
### Problem
Currently the preview of archived chats contains the last message sent, except if the chat is a policy expense chat. If it’s a policy expense chat, it will show the reason for the archive reason, ex: This workspace chat is no longer active because is no longer an active workspace.. This causes difference in behavior for no apparent reason, since both types of chats can have content.
In the images below there’s the before and after the workspace deletion, where all chats had content. Note that only the non policy expense chat contain the last message preview.
### Solution
Use the same behaviour for all chats, so that it is consistent.
- If there is some message before the room/ policy expense chat has been archived, show that message
- If there is no message in the archived chat, show the Closed report action message. ie
This workspace has been archived because XYZ But this message will be trimmed in the preview.

Upwork Automation - Do Not Edit
- Upwork Job URL: https://www.upwork.com/jobs/~01c1f0e5d8fc4290e0
- Upwork Job ID: 1646456802523676672
- Last Price Increase: 2023-04-13
Coming from here
### Problem
Currently the preview of archived chats contains the last message sent, except if the chat is a policy expense chat. If it’s a policy expense chat, it will show the reason for the archive reason, ex: This workspace chat is no longer active because is no longer an active workspace.. This causes difference in behavior for no apparent reason, since both types of chats can have content.
In the images below there’s the before and after the workspace deletion, where all chats had content. Note that only the non policy expense chat contain the last message preview.
### Solution
Use the same behaviour for all chats, so that it is consistent.
This workspace has been archived because XYZBut this message will be trimmed in the preview.Upwork Automation - Do Not Edit