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",
|
||||
"version": "1.1.0",
|
||||
"version": "1.1.1",
|
||||
"description": "Blood on the Clocktower Town Square",
|
||||
"author": "Steffen Baumgart",
|
||||
"scripts": {
|
||||
|
|
|
@ -193,7 +193,10 @@ export default {
|
|||
this.$store.commit("session/setSpectator", false);
|
||||
this.$store.commit(
|
||||
"session/setSessionId",
|
||||
sessionId.replace(/[^0-9a-z]/g, "").substr(0, 5)
|
||||
sessionId
|
||||
.toLocaleLowerCase()
|
||||
.replace(/[^0-9a-z]/g, "")
|
||||
.substr(0, 10)
|
||||
);
|
||||
this.copySessionUrl();
|
||||
}
|
||||
|
@ -218,7 +221,10 @@ export default {
|
|||
this.$store.commit("session/setSpectator", true);
|
||||
this.$store.commit(
|
||||
"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