Skip to content

Commit

Permalink
fix some rts appearing as RT @
Browse files Browse the repository at this point in the history
  • Loading branch information
dimdenGD committed Apr 24, 2024
1 parent 511c146 commit f083c72
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion manifest.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "Old Twitter Layout (2024)",
"description": "__MSG_ext_description__",
"version": "1.8.3.8",
"version": "1.8.3.9",
"manifest_version": 3,
"homepage_url": "https://github.com/dimdenGD/OldTwitter",
"background": {
Expand Down
2 changes: 1 addition & 1 deletion scripts/apis.js
Original file line number Diff line number Diff line change
Expand Up @@ -147,8 +147,8 @@ function parseTweet(res) {
if(limitation) {
result.tweet.legacy.limited_actions_text = limitation.prompt ? limitation.prompt.subtext.text : LOC.limited_tweet.message;
}
result = result.tweet;
}
if(result.tweet) result = result.tweet;
if(
result.quoted_status_result &&
result.quoted_status_result.result &&
Expand Down
1 change: 0 additions & 1 deletion scripts/helpers.js
Original file line number Diff line number Diff line change
Expand Up @@ -462,7 +462,6 @@ async function renderTweetBodyHTML(t, is_quoted) {
});
}

console.log(t);
if (t.entities.urls) {
t.entities.urls.forEach(url => {
index_map[url.indices[0]] = [url.indices[1], text =>
Expand Down

0 comments on commit f083c72

Please sign in to comment.