[smuxi: 80/111] Engine-XMPP: got serialization exceptions due to sending XmppPersonModels



commit 61529e7766582967c50dc83be0220ce427ddcfa3
Author: Oliver Schneider <mail oli-obk de>
Date:   Fri Jan 17 20:06:56 2014 +0100

    Engine-XMPP: got serialization exceptions due to sending XmppPersonModels

 .../Protocols/Xmpp/XmppProtocolManager.cs          |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/Engine-XMPP/Protocols/Xmpp/XmppProtocolManager.cs 
b/src/Engine-XMPP/Protocols/Xmpp/XmppProtocolManager.cs
index c35cbff..707d360 100644
--- a/src/Engine-XMPP/Protocols/Xmpp/XmppProtocolManager.cs
+++ b/src/Engine-XMPP/Protocols/Xmpp/XmppProtocolManager.cs
@@ -1808,7 +1808,7 @@ namespace Smuxi.Engine
         void OnGroupChatPresence(XmppGroupChatModel chat, Presence pres)
         {
             Jid jid = pres.From;
-            var person = new XmppPersonModel(jid, pres.From.Resource, this);
+            var person = new PersonModel(jid, pres.From.Resource, NetworkID, Protocol, this);
             PrintGroupChatPresence(chat, person, pres);
             switch (pres.Type) {
                 case PresenceType.available:


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