[smuxi: 45/111] Frontend-GNOME: fixed dealing with mailto: links in Frontend.TryOpenChatLink()



commit 008d5f0b85c993d54d814cfce30d516d7c8ff1e3
Author: Mirco Bauer <meebey meebey net>
Date:   Fri Jan 3 04:01:45 2014 +0100

    Frontend-GNOME: fixed dealing with mailto: links in Frontend.TryOpenChatLink()

 src/Frontend-GNOME/Frontend.cs |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/Frontend-GNOME/Frontend.cs b/src/Frontend-GNOME/Frontend.cs
index eb9b7ee..b93872d 100644
--- a/src/Frontend-GNOME/Frontend.cs
+++ b/src/Frontend-GNOME/Frontend.cs
@@ -802,7 +802,7 @@ namespace Smuxi.Frontend.Gnome
                 }
             }
             var linkChat = link.Fragment;
-            if (String.IsNullOrEmpty(linkChat)) {
+            if (String.IsNullOrEmpty(linkChat) && link.AbsolutePath.Length > 0) {
                 linkChat = link.AbsolutePath.Substring(1);
             }
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]