1
0
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:
chylex 2017-04-11 20:10:21 +02:00
parent 63a1928468
commit c6f5c8d91f

View File

@ -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()){