From 4f1d983ad758e5533cc85648f2d489952f6975e3 Mon Sep 17 00:00:00 2001 From: JP Dillingham Date: Thu, 20 May 2021 22:25:24 -0500 Subject: more warnings --- src/slskd/API/DTO/PrivateMessageResponse.cs | 21 +++++++++++++++++++-- 1 file changed, 19 insertions(+), 2 deletions(-) (limited to 'src/slskd/API/DTO/PrivateMessageResponse.cs') diff --git a/src/slskd/API/DTO/PrivateMessageResponse.cs b/src/slskd/API/DTO/PrivateMessageResponse.cs index 5eddfb22..aa2b142d 100644 --- a/src/slskd/API/DTO/PrivateMessageResponse.cs +++ b/src/slskd/API/DTO/PrivateMessageResponse.cs @@ -1,4 +1,21 @@ -namespace slskd.API.DTO +// +// Copyright (c) slskd Team. All rights reserved. +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see https://www.gnu.org/licenses/. +// + +namespace slskd.API.DTO { using System; using slskd.Entities; @@ -50,7 +67,7 @@ Message = privateMessage.Message, Acknowledged = privateMessage.Acknowledged, Replayed = privateMessage.Replayed, - Self = self ? self: (bool?)null, + Self = self ? self : (bool?)null, }; } } -- cgit v1.2.3