skip vote not working
Closed this issue · 2 comments
niehusst commented
after 2 devices get into a party:
- host ends party
- previous guest starts new party as host
- previous host joins party as guest
- add some songs to queue
- try skipping songs (each user take turns being first to try skipping song)
You may notice that sometimes even if both users vote to skip, the song wont skip OR only one of the users needs to vote skip for a song to skip
niehusst commented
best guess at error cause rn is that when host leaves the party, the IS_HOST shared pref remains true (as data hasn't been wiped from closing the app) when they join a new party as a guest. This could cause some weirdness, certainly...
try removing/rewriting IS_HOST from shared prefs on disconnect()
and see if errors still reproducible
niehusst commented
testing became difficult due to weird interaction between the same Spotify account being signed into both test devices. Uncertain if this could also be a source of error.