From 462aebb1153cbd2e1c26aa3e74feeb789060e8a2 Mon Sep 17 00:00:00 2001 From: chylex <info@chylex.com> Date: Sun, 17 Apr 2016 16:49:49 +0200 Subject: [PATCH] Fix notification height and sent DMs showing up in notifications --- Core/FormNotification.cs | 4 ++-- Resources/code.js | 4 ++++ 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/Core/FormNotification.cs b/Core/FormNotification.cs index f2ccf162..f04835b4 100644 --- a/Core/FormNotification.cs +++ b/Core/FormNotification.cs @@ -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; } diff --git a/Resources/code.js b/Resources/code.js index 8a4c5fe8..9754278e 100644 --- a/Resources/code.js +++ b/Resources/code.js @@ -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)"); });