kopia lustrzana https://github.com/pixelfed/pixelfed
Update RateLimit, add max post edits per hour and day
rodzic
ae24433b8c
commit
51fbfcdcf7
|
@ -113,4 +113,14 @@ trait User {
|
|||
{
|
||||
return 35;
|
||||
}
|
||||
|
||||
public function getMaxPostEditsPerHourAttribute()
|
||||
{
|
||||
return 10;
|
||||
}
|
||||
|
||||
public function getMaxPostEditsPerDayAttribute()
|
||||
{
|
||||
return 20;
|
||||
}
|
||||
}
|
Ładowanie…
Reference in New Issue