Fix #100 - Add "back" button to certain views
Also fix reloading of timelines after merge-type events
This commit is contained in:
parent
8698cd3281
commit
04bbc57690
10 changed files with 80 additions and 31 deletions
|
@ -37,7 +37,7 @@ class ApiController < ApplicationController
|
|||
end
|
||||
|
||||
def set_maps(statuses)
|
||||
status_ids = statuses.flat_map { |s| [s.id, s.reblog_of_id] }.compact
|
||||
status_ids = statuses.flat_map { |s| [s.id, s.reblog_of_id] }.compact.uniq
|
||||
@reblogs_map = Status.reblogs_map(status_ids, current_user.account)
|
||||
@favourites_map = Status.favourites_map(status_ids, current_user.account)
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue