2
0
mirror of https://github.com/esiur/esiur-js.git synced 2025-06-27 07:13:12 +00:00

/ in username

This commit is contained in:
2022-09-16 16:40:26 +03:00
parent 8128a32c4d
commit 6a6b1a26f1
3 changed files with 142 additions and 33 deletions

View File

@ -670,7 +670,7 @@ export default class DistributedConnection extends IStore {
if (this.instance == null)
{
Warehouse.put(this.localUsername, this, null, this.server).then(x =>
Warehouse.put(this.remoteUsername.replaceAll("/", "_"), this, null, this.server).then(x =>
{
this.ready = true;
@ -787,7 +787,7 @@ export default class DistributedConnection extends IStore {
// put it in the warehouse
if (this.instance == null)
{
Warehouse.put(this.localUsername, this, null, this.server).then(x =>
Warehouse.put(this.localUsername.replaceAll("/", "_"), this, null, this.server).then(x =>
{
this._openReply?.trigger(true);
this._openReply = null;