1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/pixelfed_ynh.git synced 2024-09-03 20:06:04 +02:00

Update RateLimit, add max post edits per hour and day

This commit is contained in:
Daniel Supernault 2020-01-29 22:07:09 -07:00
parent ae24433b8c
commit 51fbfcdcf7
No known key found for this signature in database
GPG key ID: 0DEF1C662C9033F7

View file

@ -113,4 +113,14 @@ trait User {
{
return 35;
}
public function getMaxPostEditsPerHourAttribute()
{
return 10;
}
public function getMaxPostEditsPerDayAttribute()
{
return 20;
}
}