skip antenna check if syclla is enabled

This commit is contained in:
Namekuji 2023-08-17 03:05:41 -04:00
parent 9d60a9701a
commit 72ee60de88
No known key found for this signature in database
GPG key ID: 1D62332C07FBA532

View file

@ -393,6 +393,7 @@ export default async (
} }
// Antenna // Antenna
if (!scyllaClient) {
for (const antenna of await getAntennas()) { for (const antenna of await getAntennas()) {
checkHitAntenna(antenna, note, user).then((hit) => { checkHitAntenna(antenna, note, user).then((hit) => {
if (hit) { if (hit) {
@ -400,6 +401,7 @@ export default async (
} }
}); });
} }
}
// Channel // Channel
if (note.channelId) { if (note.channelId) {