mirror of
https://github.com/chylex/TweetDuck.git
synced 2025-05-02 20:34:07 +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);
|
Screen screen = Screen.FromControl(owner);
|
||||||
|
|
||||||
if (config.DisplayNotificationTimer){
|
if (config.DisplayNotificationTimer){
|
||||||
Height = 156;
|
ClientSize = new Size(ClientSize.Width,122);
|
||||||
progressBarTimer.Visible = true;
|
progressBarTimer.Visible = true;
|
||||||
}
|
}
|
||||||
else{
|
else{
|
||||||
Height = 152;
|
ClientSize = new Size(ClientSize.Width,118);
|
||||||
progressBarTimer.Visible = false;
|
progressBarTimer.Visible = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -127,6 +127,10 @@
|
|||||||
var html = $(tweet.outerHTML);
|
var html = $(tweet.outerHTML);
|
||||||
var body = html.find(".tweet-body").first();
|
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(){
|
body.children("div.js-quote-detail").each(function(){
|
||||||
$(this).html("(quoted tweet)");
|
$(this).html("(quoted tweet)");
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user