(userId)
| 91 | } |
| 92 | |
| 93 | function readActivityStatusCache (userId) { |
| 94 | const key = getActivityStatusCacheKey(userId) |
| 95 | return localStorage.load(key, false) || localStorage.load(key) || {} |
| 96 | } |
| 97 | |
| 98 | function activityFromRemote (remoteActivity) { |
| 99 | if (!remoteActivity?.first) { return null } |
no test coverage detected