remember channels you were in last
This commit is contained in:
parent
b5e0e6df8b
commit
7915032462
6 changed files with 10 additions and 5 deletions
|
@ -686,6 +686,8 @@ class Channel extends SnowFlake{
|
|||
this.myhtml.classList.add("viewChannel");
|
||||
}
|
||||
this.guild.prevchannel=this;
|
||||
this.guild.perminfo.prevchannel=this.id;
|
||||
this.localuser.userinfo.updateLocal();
|
||||
this.localuser.channelfocus=this;
|
||||
const prom=this.infinite.delete();
|
||||
history.pushState(null, "","/channels/"+this.guild_id+"/"+this.id);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue