general changes and reducing logs
This commit is contained in:
@@ -7,7 +7,6 @@ class Direct extends Guild {
|
||||
constructor(json, owner) {
|
||||
super(-1, owner, null);
|
||||
this.message_notifications = 0;
|
||||
console.log(json);
|
||||
this.owner = owner;
|
||||
if (!this.localuser) {
|
||||
console.error("Owner was not included, please fix");
|
||||
@@ -169,13 +168,11 @@ class Group extends Channel {
|
||||
const noti = document.createElement("div");
|
||||
noti.classList.add("unread", "notiunread", "pinged");
|
||||
noti.textContent = "" + this.mentions;
|
||||
console.log(this.mentions);
|
||||
div["noti"] = noti;
|
||||
div.append(noti);
|
||||
const buildpfp = this.user.buildpfp();
|
||||
div["all"] = this;
|
||||
buildpfp.classList.add("mentioned");
|
||||
console.log(this);
|
||||
div.append(buildpfp);
|
||||
sentdms.append(div);
|
||||
div.onclick = _ => {
|
||||
|
Reference in New Issue
Block a user