forked from GNUsocial/gnu-social
[AUTOGENERATED] Update autogenerated code
This commit is contained in:
parent
db8e783233
commit
c7dbae8067
@ -40,7 +40,7 @@ class UserNotificationPrefs
|
|||||||
private int $user_id;
|
private int $user_id;
|
||||||
private string $transport;
|
private string $transport;
|
||||||
private ?int $target_profile_id;
|
private ?int $target_profile_id;
|
||||||
private bool $notice_by_followed = true;
|
private bool $activity_by_followed = true;
|
||||||
private bool $mention = true;
|
private bool $mention = true;
|
||||||
private bool $reply = true;
|
private bool $reply = true;
|
||||||
private bool $follow = true;
|
private bool $follow = true;
|
||||||
@ -82,14 +82,14 @@ class UserNotificationPrefs
|
|||||||
return $this->target_profile_id;
|
return $this->target_profile_id;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function setNoticeByFollowed(bool $notice_by_followed): self
|
public function setActivityByFollowed(bool $activity_by_followed): self
|
||||||
{
|
{
|
||||||
$this->notice_by_followed = $notice_by_followed;
|
$this->activity_by_followed = $activity_by_followed;
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
public function getNoticeByFollowed(): bool
|
public function getActivityByFollowed(): bool
|
||||||
{
|
{
|
||||||
return $this->notice_by_followed;
|
return $this->activity_by_followed;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function setMention(bool $mention): self
|
public function setMention(bool $mention): self
|
||||||
|
Loading…
Reference in New Issue
Block a user