mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-25 15:55:22 +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()
|
||||
{
|
||||
return 'App.User.'.$this->id;
|
||||
|
|
Loading…
Reference in a new issue