This commit is contained in:
2023-02-15 18:43:15 +01:00
parent 7367f36132
commit 101ce32c06

View File

@@ -905,6 +905,8 @@ namespace ChatController
var updatedContacts = updatedContactList.ToList();
this.Dispatch(() =>
{
try
{
foreach (var contactDependencyObject in _ContactList)
{
@@ -966,6 +968,12 @@ namespace ChatController
ContactList.Sort((x, y) => DateTime.Compare(y.Contact.TimeStamp, x.Contact.TimeStamp));
OnPropertyChanged(nameof(ChatMessages));
OnPropertyChanged(nameof(ContactList));
}
catch(Exception exception)
{
Console.WriteLine(exception);
throw;
}
});
});
}