mirror of
https://github.com/versia-pub/server.git
synced 2026-03-13 05:49:16 +01:00
fix(federation): 🐛 Fix profile edits not being federated
This commit is contained in:
parent
4c22b0edcc
commit
32cb0ea733
4 changed files with 21 additions and 39 deletions
|
|
@ -521,7 +521,7 @@ export class User {
|
|||
) {
|
||||
// Get followers
|
||||
const followers = await User.manyFromSql(
|
||||
sql`EXISTS (SELECT 1 FROM "Relationships" WHERE "Relationships"."subjectId" = ${Users.id} AND "Relationships"."ownerId" = ${this.id} AND "Relationships"."following" = true)`,
|
||||
sql`EXISTS (SELECT 1 FROM "Relationships" WHERE "Relationships"."subjectId" = ${this.id} AND "Relationships"."ownerId" = ${Users.id} AND "Relationships"."following" = true)`,
|
||||
);
|
||||
|
||||
for (const follower of followers) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue