mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-26 00:03:16 +00:00
Update RateLimit, add max post edits per hour and day
This commit is contained in:
parent
ae24433b8c
commit
51fbfcdcf7
1 changed files with 10 additions and 0 deletions
|
@ -113,4 +113,14 @@ trait User {
|
||||||
{
|
{
|
||||||
return 35;
|
return 35;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public function getMaxPostEditsPerHourAttribute()
|
||||||
|
{
|
||||||
|
return 10;
|
||||||
|
}
|
||||||
|
|
||||||
|
public function getMaxPostEditsPerDayAttribute()
|
||||||
|
{
|
||||||
|
return 20;
|
||||||
|
}
|
||||||
}
|
}
|
Loading…
Reference in a new issue