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:
parent
0cb3bd9cc6
commit
462aebb115
@ -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;
|
||||
}
|
||||
|
||||
|
@ -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)");
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user