general changes and reducing logs

This commit is contained in:
MathMan05 2024-07-27 12:51:42 -05:00
parent 0d757b7d4e
commit 7a745a5286
16 changed files with 146 additions and 78 deletions

View file

@ -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 = _ => {