From 7367f36132144df6754dd75489ebcbce58493940 Mon Sep 17 00:00:00 2001 From: Lyndon Jetten Date: Thu, 9 Feb 2023 20:49:35 +0100 Subject: [PATCH] =?UTF-8?q?Nachrichten=20werden=20als=20UTF-8=20in=20die?= =?UTF-8?q?=20Zeiterfassung=20=C3=BCbernommen=20und=20das=20gro=C3=9Fe=20E?= =?UTF-8?q?sszett=20wird=20durch=20das=20kleine=20ersetzt,=20da=20latin1?= =?UTF-8?q?=20das=20nicht=20unterst=C3=BCtzt.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ChatController/ChatMainControl.xaml.cs | 1 + ChatController/HauptKlassen/Login.cs | 1 + 2 files changed, 2 insertions(+) diff --git a/ChatController/ChatMainControl.xaml.cs b/ChatController/ChatMainControl.xaml.cs index d6d5fef..01eab05 100644 --- a/ChatController/ChatMainControl.xaml.cs +++ b/ChatController/ChatMainControl.xaml.cs @@ -263,6 +263,7 @@ namespace ChatController _ContactList = new ObservableSortCollection(); + // ToDo: Hier tritt eine NullPointer-Exception auf! foreach(var contact in Chat.AddContacts()) { ContactList.Add(new ContactDependencyObject(contact)); diff --git a/ChatController/HauptKlassen/Login.cs b/ChatController/HauptKlassen/Login.cs index f37885b..7269e36 100644 --- a/ChatController/HauptKlassen/Login.cs +++ b/ChatController/HauptKlassen/Login.cs @@ -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);