Add unread indicator to conversations (#9009)
This commit is contained in:
parent
bebe8ec887
commit
a38a452481
13 changed files with 98 additions and 11 deletions
|
@ -58,6 +58,7 @@ Doorkeeper.configure do
|
|||
optional_scopes :write,
|
||||
:'write:accounts',
|
||||
:'write:blocks',
|
||||
:'write:conversations',
|
||||
:'write:favourites',
|
||||
:'write:filters',
|
||||
:'write:follows',
|
||||
|
@ -76,7 +77,6 @@ Doorkeeper.configure do
|
|||
:'read:lists',
|
||||
:'read:mutes',
|
||||
:'read:notifications',
|
||||
:'read:reports',
|
||||
:'read:search',
|
||||
:'read:statuses',
|
||||
:follow,
|
||||
|
|
|
@ -261,7 +261,12 @@ Rails.application.routes.draw do
|
|||
resources :streaming, only: [:index]
|
||||
resources :custom_emojis, only: [:index]
|
||||
resources :suggestions, only: [:index, :destroy]
|
||||
resources :conversations, only: [:index]
|
||||
|
||||
resources :conversations, only: [:index, :destroy] do
|
||||
member do
|
||||
post :read
|
||||
end
|
||||
end
|
||||
|
||||
get '/search', to: 'search#index', as: :search
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue