mirror of https://github.com/bra1n/townsquare.git
dont filter uppercase letters in session channel names (fixes #39)
This commit is contained in:
parent
6509ee3364
commit
85909778ee
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "townsquare",
|
"name": "townsquare",
|
||||||
"version": "1.1.0",
|
"version": "1.1.1",
|
||||||
"description": "Blood on the Clocktower Town Square",
|
"description": "Blood on the Clocktower Town Square",
|
||||||
"author": "Steffen Baumgart",
|
"author": "Steffen Baumgart",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
|
|
@ -193,7 +193,10 @@ export default {
|
||||||
this.$store.commit("session/setSpectator", false);
|
this.$store.commit("session/setSpectator", false);
|
||||||
this.$store.commit(
|
this.$store.commit(
|
||||||
"session/setSessionId",
|
"session/setSessionId",
|
||||||
sessionId.replace(/[^0-9a-z]/g, "").substr(0, 5)
|
sessionId
|
||||||
|
.toLocaleLowerCase()
|
||||||
|
.replace(/[^0-9a-z]/g, "")
|
||||||
|
.substr(0, 10)
|
||||||
);
|
);
|
||||||
this.copySessionUrl();
|
this.copySessionUrl();
|
||||||
}
|
}
|
||||||
|
@ -218,7 +221,10 @@ export default {
|
||||||
this.$store.commit("session/setSpectator", true);
|
this.$store.commit("session/setSpectator", true);
|
||||||
this.$store.commit(
|
this.$store.commit(
|
||||||
"session/setSessionId",
|
"session/setSessionId",
|
||||||
sessionId.replace(/[^0-9a-z]/g, "").substr(0, 5)
|
sessionId
|
||||||
|
.toLocaleLowerCase()
|
||||||
|
.replace(/[^0-9a-z]/g, "")
|
||||||
|
.substr(0, 10)
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue