1
0
mirror of https://github.com/chylex/TweetDuck.git synced 2025-04-23 03:15:48 +02:00

Fix notification height and sent DMs showing up in notifications

This commit is contained in:
chylex 2016-04-17 16:49:49 +02:00
parent 0cb3bd9cc6
commit 462aebb115
2 changed files with 6 additions and 2 deletions

View File

@ -112,11 +112,11 @@ private void MoveToVisibleLocation(){
Screen screen = Screen.FromControl(owner);
if (config.DisplayNotificationTimer){
Height = 156;
ClientSize = new Size(ClientSize.Width,122);
progressBarTimer.Visible = true;
}
else{
Height = 152;
ClientSize = new Size(ClientSize.Width,118);
progressBarTimer.Visible = false;
}

View File

@ -127,6 +127,10 @@
var html = $(tweet.outerHTML);
var body = html.find(".tweet-body").first();
if (html.find(".icon-reply").length > 0){
return; // ignore sent messages
}
body.children("div.js-quote-detail").each(function(){
$(this).html("(quoted tweet)");
});