mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-22 14:31:26 +00:00
Update User model
This commit is contained in:
parent
da17778223
commit
492410a287
1 changed files with 5 additions and 0 deletions
|
@ -62,6 +62,11 @@ class User extends Authenticatable
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public function filters()
|
||||||
|
{
|
||||||
|
return $this->hasMany(UserFilter::class);
|
||||||
|
}
|
||||||
|
|
||||||
public function receivesBroadcastNotificationsOn()
|
public function receivesBroadcastNotificationsOn()
|
||||||
{
|
{
|
||||||
return 'App.User.'.$this->id;
|
return 'App.User.'.$this->id;
|
||||||
|
|
Loading…
Reference in a new issue