Fix:Downloaded item server user id mismatch alert to support connections with old user id #945

This commit is contained in:
advplyr 2023-11-21 10:55:26 -06:00
parent ef4d7ba1bf
commit 0036a19659

View file

@ -272,7 +272,7 @@ export default {
*/ */
isLocalMatchingUser() { isLocalMatchingUser() {
if (this.isLocalOnly || !this.localLibraryItem || !this.user) return false if (this.isLocalOnly || !this.localLibraryItem || !this.user) return false
return this.localLibraryItem.serverUserId === this.user.id return this.localLibraryItem.serverUserId === this.user.id || this.localLibraryItem.serverUserId === this.user.oldUserId
}, },
/** /**
* User is currently connected to a server and this local library item has the same connection config id * User is currently connected to a server and this local library item has the same connection config id