1
0
mirror of https://github.com/misskey-dev/misskey.git synced 2026-05-17 10:15:33 +02:00

chore(backend): remove unused codes

This commit is contained in:
syuilo
2025-08-09 14:44:36 +09:00
parent b5b7914073
commit 1e92bb4a0a
10 changed files with 0 additions and 39 deletions

View File

@@ -43,8 +43,6 @@ class AntennaChannel extends Channel {
if (this.isNoteMutedOrBlocked(note)) return;
this.connection.cacheNote(note);
this.send('note', note);
} else {
this.send(data.type, data.body);

View File

@@ -49,8 +49,6 @@ class ChannelChannel extends Channel {
}
}
this.connection.cacheNote(note);
this.send('note', note);
}

View File

@@ -65,8 +65,6 @@ class GlobalTimelineChannel extends Channel {
}
}
this.connection.cacheNote(note);
this.send('note', note);
}

View File

@@ -53,8 +53,6 @@ class HashtagChannel extends Channel {
}
}
this.connection.cacheNote(note);
this.send('note', note);
}

View File

@@ -86,8 +86,6 @@ class HomeTimelineChannel extends Channel {
}
}
this.connection.cacheNote(note);
this.send('note', note);
}

View File

@@ -100,8 +100,6 @@ class HybridTimelineChannel extends Channel {
}
}
this.connection.cacheNote(note);
this.send('note', note);
}

View File

@@ -75,8 +75,6 @@ class LocalTimelineChannel extends Channel {
}
}
this.connection.cacheNote(note);
this.send('note', note);
}

View File

@@ -39,7 +39,6 @@ class MainChannel extends Channel {
const note = await this.noteEntityService.pack(data.body.note.id, this.user, {
detail: true,
});
this.connection.cacheNote(note);
data.body.note = note;
}
break;
@@ -52,7 +51,6 @@ class MainChannel extends Channel {
const note = await this.noteEntityService.pack(data.body.id, this.user, {
detail: true,
});
this.connection.cacheNote(note);
data.body = note;
}
break;

View File

@@ -118,8 +118,6 @@ class UserListChannel extends Channel {
}
}
this.connection.cacheNote(note);
this.send('note', note);
}