mirror of
https://github.com/chylex/TweetDuck.git
synced 2025-04-21 15:15:48 +02:00
Fix notification duration not counting length of quoted tweets
This commit is contained in:
parent
63a1928468
commit
c6f5c8d91f
@ -97,7 +97,9 @@
|
||||
html.find(".js-quote-detail").removeClass("is-actionable");
|
||||
|
||||
let url = html.find("time").first().children("a").first().attr("href") || "";
|
||||
$TD.onTweetPopup(columnTypes[column.getColumnType()] || "", html.html(), url, tweet.text.length);
|
||||
let length = tweet.text.length+(tweet.quotedTweet ? tweet.quotedTweet.text.length : 0);
|
||||
|
||||
$TD.onTweetPopup(columnTypes[column.getColumnType()] || "", html.html(), url, length);
|
||||
}
|
||||
|
||||
if (column.model.getHasSound()){
|
||||
|
Loading…
Reference in New Issue
Block a user