establishing ws connection, starting on messages section
This commit is contained in:
@@ -70,7 +70,7 @@ let Global = class {
|
||||
window.dispatchEvent(event)
|
||||
}
|
||||
|
||||
document.title = (this.currentNetwork === this.profile) ? "Parchment" : `${this.currentNetwork.abbreviation} | Parchment`
|
||||
document.title = (this.currentNetwork === this.profile) ? "Forum" : `${this.currentNetwork.abbreviation} | Forum`
|
||||
}
|
||||
|
||||
setCurrentNetworkAndApp() {
|
||||
@@ -140,8 +140,9 @@ let Global = class {
|
||||
|
||||
this.getProfile().then(async (status) => {
|
||||
|
||||
await this.Socket.init()
|
||||
|
||||
if(status !== 401) {
|
||||
console.log("it's legit")
|
||||
await this.onNavigate()
|
||||
Home()
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user