Forgot to add the websocket search rate limit

This commit is contained in:
Dessalines 2022-03-25 15:08:35 -04:00
parent 4eb7d81181
commit 52dcce3043

View file

@ -485,6 +485,7 @@ impl ChatServer {
UserOperationCrud::CreatePost => rate_limiter.post().check(ip),
UserOperationCrud::CreateCommunity => rate_limiter.register().check(ip),
UserOperationCrud::CreateComment => rate_limiter.comment().check(ip),
UserOperationCrud::Search => rate_limiter.search().check(ip),
_ => true,
};
let fut = (message_handler_crud)(context, msg.id, user_operation_crud, data);