forked from mirror/pixelfed
Update RateLimit, add max post edits per hour and day
This commit is contained in:
parent
ae24433b8c
commit
51fbfcdcf7
|
@ -113,4 +113,14 @@ trait User {
|
|||
{
|
||||
return 35;
|
||||
}
|
||||
|
||||
public function getMaxPostEditsPerHourAttribute()
|
||||
{
|
||||
return 10;
|
||||
}
|
||||
|
||||
public function getMaxPostEditsPerDayAttribute()
|
||||
{
|
||||
return 20;
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue