* Get the lastReadTimestamp from persisted state.
(workspaceId: string)
| 41 | * Get the lastReadTimestamp from persisted state. |
| 42 | */ |
| 43 | function getLastReadTimestamp(workspaceId: string): number { |
| 44 | return readPersistedState<number>(getWorkspaceLastReadKey(workspaceId), 0); |
| 45 | } |
| 46 | |
| 47 | /** |
| 48 | * Find the workspace element in the sidebar and check if it shows the unread indicator. |
no test coverage detected