OSDN Git Service

RAD-372: Names not recorded in IM logs
authorLatif Khalifa <latifer@streamgrid.net>
Wed, 25 Jul 2012 21:57:42 +0000 (23:57 +0200)
committerLatif Khalifa <latifer@streamgrid.net>
Wed, 25 Jul 2012 21:57:42 +0000 (23:57 +0200)
Radegast/Core/IMTextManager.cs

index df8306c..42e1c28 100644 (file)
@@ -236,9 +236,8 @@ namespace Radegast
                 sb.Append(message);
             }
 
-            instance.LogClientMessage(sessionName + ".txt", sb.ToString());
+            instance.LogClientMessage(sessionName + ".txt", fromName + sb.ToString());
             textPrinter.PrintTextLine(sb.ToString());
-            sb = null;
         }
 
         public static string ReadEndTokens(string path, Int64 numberOfTokens, Encoding encoding, string tokenSeparator)