Merge branch 'requested_messages_unnecessary_queries' into 'develop'
Remove unnecessary queries from requested conversations count See merge request gab/social/gab-social!50
This commit is contained in:
commit
75d041af77
@ -4,7 +4,7 @@ class Api::V1::ChatConversations::RequestedConversationsController < Api::BaseCo
|
||||
before_action -> { authorize_if_got_token! :read, :'read:chats' }
|
||||
|
||||
before_action :require_user!
|
||||
after_action :insert_pagination_headers
|
||||
after_action :insert_pagination_headers, only: :index
|
||||
|
||||
def index
|
||||
@chat_conversations = load_chat_conversations
|
||||
|
Loading…
Reference in New Issue
Block a user