bugfixes and improved session joining

This commit is contained in:
Steffen 2021-03-30 21:34:09 +02:00
parent 4620332fff
commit 5171996b39
No known key found for this signature in database
GPG Key ID: 764D74E98267DFC6
3 changed files with 10 additions and 1 deletions

View File

@ -1,5 +1,13 @@
# Release Notes # Release Notes
### Version 2.11.0
- new design for character reference sheet
- automatically switch to grimoire view when joining a session through a link
- fixed demon bluffs showing on public town square
- fixed a bug that prevented connecting to a session when previously being connected and joining through a link
---
### Version 2.10.0 ### Version 2.10.0
- added [nomination log indicator](https://fontawesome.com/icons/book-dead). When a nomination log [v] is available, the number of currently visible entries is displayed. Clicking the indicator can reveal/hide the nomination log. - added [nomination log indicator](https://fontawesome.com/icons/book-dead). When a nomination log [v] is available, the number of currently visible entries is displayed. Clicking the indicator can reveal/hide the nomination log.
- fix issue where a player and storyteller updating the same players pronouns at around the same time causes an infinite loop disconnecting the session. - fix issue where a player and storyteller updating the same players pronouns at around the same time causes an infinite loop disconnecting the session.

View File

@ -60,7 +60,7 @@ module.exports = store => {
if (localStorage.getItem("playerId")) { if (localStorage.getItem("playerId")) {
store.commit("session/setPlayerId", localStorage.getItem("playerId")); store.commit("session/setPlayerId", localStorage.getItem("playerId"));
} }
if (localStorage.getItem("session")) { if (localStorage.getItem("session") && !window.location.hash.substr(1)) {
const [spectator, sessionId] = JSON.parse(localStorage.getItem("session")); const [spectator, sessionId] = JSON.parse(localStorage.getItem("session"));
store.commit("session/setSpectator", spectator); store.commit("session/setSpectator", spectator);
store.commit("session/setSessionId", sessionId); store.commit("session/setSessionId", sessionId);

View File

@ -878,5 +878,6 @@ export default store => {
if (sessionId) { if (sessionId) {
store.commit("session/setSpectator", true); store.commit("session/setSpectator", true);
store.commit("session/setSessionId", sessionId); store.commit("session/setSessionId", sessionId);
store.commit("toggleGrimoire", false);
} }
}; };