Nachrichten werden als UTF-8 in die Zeiterfassung übernommen und das große Esszett wird durch das kleine ersetzt, da latin1 das nicht unterstützt.

This commit is contained in:
2023-02-09 20:49:35 +01:00
parent 1f91259c78
commit 7367f36132
2 changed files with 2 additions and 0 deletions

View File

@@ -263,6 +263,7 @@ namespace ChatController
_ContactList = new ObservableSortCollection<ContactDependencyObject>();
// ToDo: Hier tritt eine NullPointer-Exception auf!
foreach(var contact in Chat.AddContacts())
{
ContactList.Add(new ContactDependencyObject(contact));

View File

@@ -522,6 +522,7 @@ namespace ChatController.HauptKlassen
client.ExecuteAsync(request, response =>
{
Debug.WriteLine("+++>Maximale Dateigröße erhalten");
var maxFileSizeAnonymous = JsonConvert.DeserializeAnonymousType(response.Content, new { file_upload_max_size = string.Empty });
var maxUploadFileSize = Convert.ToInt64(maxFileSizeAnonymous.file_upload_max_size);