Fehler im BeWoPlaner mit chat, wenn das fenster geschlossen sit

This commit is contained in:
Lyndon Jetten
2020-11-11 15:08:31 +01:00
parent 7a47fc4b10
commit 0164a493f1

View File

@@ -754,8 +754,12 @@ namespace ChatController
var selectedGroupId = selectedContact?.GroupId;
if(senderId != receiverId && (_IsInBackground || receiverGroupId != selectedGroupId))
{
if(ContainingWindow != null)
{
ContainingWindow.Icon = Utils.GetImageSourceFromIcon(Resource.oC_favico_NewMessage);
}
ShowNotification(newContact.Name, newContact.ReceivedMessage, newContact.GroupId);
}