Fix broken conversation

This commit is contained in:
Pleroma User 2025-10-07 06:48:17 +00:00 committed by HJ
commit 00ba6b7c5d
8 changed files with 47 additions and 26 deletions

View file

@ -111,7 +111,10 @@ const sortTimeline = (timeline) => {
const getLatestScrobble = (state, user) => {
const scrobblesSupport = state.pleromaScrobblesAvailable
if (!scrobblesSupport) return
if (!scrobblesSupport || !user.name || user.id === 'undefined') {
return
}
if (state.scrobblesNextFetch[user.id] && state.scrobblesNextFetch[user.id] > Date.now()) {
return