diff options
| author | winter | 2025-01-23 18:55:52 +0000 |
|---|---|---|
| committer | winter | 2025-01-23 18:55:52 +0000 |
| commit | cc7cdfdd5fa49abffb5fd0e852db66bf6fe2cf14 (patch) | |
| tree | 0f1c0f148c09d572a990bd8317c2f5b135932744 /Digitigrade/Model/FollowRelation.php | |
| parent | ddccaf16f39a4bf710266edc389fcde124e7ef56 (diff) | |
implement blocking users
it doesn't work yet for notifications! but i think i got it in most other places
Diffstat (limited to 'Digitigrade/Model/FollowRelation.php')
| -rw-r--r-- | Digitigrade/Model/FollowRelation.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Digitigrade/Model/FollowRelation.php b/Digitigrade/Model/FollowRelation.php index 7cab761..ecb625a 100644 --- a/Digitigrade/Model/FollowRelation.php +++ b/Digitigrade/Model/FollowRelation.php @@ -54,7 +54,7 @@ class FollowRelation extends Model implements Notifyable { return [$this->subject->id, $this->object->id]; } - public static function fromJsonReference(mixed $reference): self { + public static function fromJsonReference(mixed $reference): ?self { return self::findByActors( Actor::find($reference[0]), Actor::find($reference[1]) |
