[smuxi: 1/3] Engine: read Nickname field when de-serializing ServerModels
- From: Mirco M. M. Bauer <mmmbauer src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [smuxi: 1/3] Engine: read Nickname field when de-serializing ServerModels
- Date: Mon, 12 Jan 2015 22:11:31 +0000 (UTC)
commit 967ab9a8aa38795a49670708cb0d5664c9fc3c9d
Author: Mirco Bauer <meebey meebey net>
Date: Mon Jan 12 22:50:32 2015 +0100
Engine: read Nickname field when de-serializing ServerModels
This broke multi identity support by always using the global nickname when
ran on a smuxi-server. (refs: #428)
src/Engine/Config/ServerModel.cs | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/src/Engine/Config/ServerModel.cs b/src/Engine/Config/ServerModel.cs
index ca1d9c1..1cde243 100644
--- a/src/Engine/Config/ServerModel.cs
+++ b/src/Engine/Config/ServerModel.cs
@@ -82,6 +82,9 @@ namespace Smuxi.Engine
case "_Username":
Username = (string) e.Value;
break;
+ case "_Nickname":
+ Nickname = (string) e.Value;
+ break;
case "_Realname":
Realname = (string) e.Value;
break;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]