Private messages refactoring

This commit is contained in:
Paul Schneider 2016-12-15 14:39:47 +01:00
commit 0e3e6f9751
4 changed files with 34 additions and 10 deletions

View file

@ -7,6 +7,7 @@ using XLabs.Forms.Mvvm;
using YavscLib;
using System;
using Newtonsoft.Json;
using BookAStar.Model.Social.Messaging;
namespace BookAStar.Model.Social.Chat
{
@ -131,7 +132,15 @@ namespace BookAStar.Model.Social.Chat
throw new NotImplementedException();
}
}
ObservableCollection<ChatMessage> privateMessages ;
[JsonIgnore]
public ObservableCollection<ChatMessage> PrivateMessages
{
get
{
return privateMessages;
}
}
public void OnConnected(string cxId)
{