[smuxi/stable] Engine: do not expose the user's realname automatically (refs: #541)



commit f21cc42e087e93f621b1a368770f46e41d6cff2f
Author: Mirco Bauer <meebey meebey net>
Date:   Tue Aug 25 18:16:41 2015 +0200

    Engine: do not expose the user's realname automatically (refs: #541)
    
    This is only a short term workaround. The user should have the option to use
    their realname obtained from the operating system, but only after reviewing and
    acknowledging that setting. This can be done using a dialog for the first start
    which #541 wants to do.
    
    This user information leak was also filed as [#779803][] in the Debian BTS.
    
     [#779803]: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=779803

 src/Engine/Config/Config.cs |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/Engine/Config/Config.cs b/src/Engine/Config/Config.cs
index bc962a7..1ed1c1d 100644
--- a/src/Engine/Config/Config.cs
+++ b/src/Engine/Config/Config.cs
@@ -471,6 +471,7 @@ namespace Smuxi.Engine
                 if (String.IsNullOrEmpty(realname)) {
                     realname = "Your Name";
                 }
+                realname = "Your Name";
                 LoadUserEntry(user, "Connection/Realname", realname);
                 LoadUserEntry(user, "Connection/Encoding", String.Empty);
 


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