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,12 +393,14 @@ export default async (
}
// Antenna
for (const antenna of await getAntennas()) {
checkHitAntenna(antenna, note, user).then((hit) => {
if (hit) {
addNoteToAntenna(antenna, note, user);
}
});
if (!scyllaClient) {
for (const antenna of await getAntennas()) {
checkHitAntenna(antenna, note, user).then((hit) => {
if (hit) {
addNoteToAntenna(antenna, note, user);
}
});
}
}
// Channel