Blocking someone removes notifications between you
Also note in the CI guide that the build caches need disk space where Docker keeps its data. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -9,6 +9,7 @@ import { db, schema } from '../db';
|
||||
import { requireUser } from '../lib/auth';
|
||||
import { HttpError } from '../lib/http';
|
||||
import { FOLLOWS_CHANGED_CHANNEL, redis } from '../lib/redis';
|
||||
import { removeNotificationsBetween } from '../services/notifications';
|
||||
import { toUserSummary } from '../services/nowPlaying';
|
||||
import { removeReactionsBetween } from './reactions';
|
||||
|
||||
@@ -48,6 +49,7 @@ export async function safetyRoutes(app: FastifyInstance) {
|
||||
);
|
||||
});
|
||||
await removeReactionsBetween(me.id, them.id);
|
||||
await removeNotificationsBetween(me.id, them.id);
|
||||
await followsChanged(me.id, them.id);
|
||||
return { ok: true };
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user