Skip to content
This repository has been archived by the owner on Sep 25, 2024. It is now read-only.

Commit

Permalink
hide statuses that are replies
Browse files Browse the repository at this point in the history
  • Loading branch information
toufali committed Apr 22, 2024
1 parent 144409d commit be527e5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/popup/components/timeline.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ customElements.define('fedifox-timeline', class FedifoxTimeline extends FedifoxM
this.querySelector('h2').textContent = chrome.i18n.getMessage(this.#navItems.find(item => item.listType === this.#currentList).name);

this.#lists[this.#currentList]?.forEach(status => {
if (status.in_reply_to_id) return // hide replies
const li = document.createElement('li')
const card = document.createElement('status-card')
card.setAttribute("action", true);
Expand Down

0 comments on commit be527e5

Please sign in to comment.