mirror of https://github.com/pixelfed/pixelfed
Merge pull request #1434 from pixelfed/frontend-ui-refactor
Retire Classic Compose UIpull/1448/head
commit
6499f20e72
@ -0,0 +1,26 @@
|
||||
<?php
|
||||
|
||||
namespace App\Util\RateLimit;
|
||||
|
||||
trait User {
|
||||
|
||||
public function getMaxPostsPerHourAttribute()
|
||||
{
|
||||
return 20;
|
||||
}
|
||||
|
||||
public function getMaxPostsPerDayAttribute()
|
||||
{
|
||||
return 100;
|
||||
}
|
||||
|
||||
public function getMaxCommentsPerHourAttribute()
|
||||
{
|
||||
return 50;
|
||||
}
|
||||
|
||||
public function getMaxCommentsPerDayAttribute()
|
||||
{
|
||||
return 500;
|
||||
}
|
||||
}
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue