Ejemplo n.º 1
0
 private static void InitContactNotAuthenticated(ILogger _logger, ChatDbModel chatDbModel, ContactItem contact)
 {
     try
     {
         var message = SendMessageCommand.FindUserNotAUthenticatedInfo(chatDbModel);
         if (message != null)
         {
             contact.FullName = message.FullName;
             contact.Id       = message.Email;
             contact.Type     = TypeBox.UserNotAuthenticated;
         }
     }
     catch (Exception exception)
     {
         _logger.LogError(exception, "Exception deserialize message ContactItem json");
     }
 }