diff options
| author | JP Dillingham <jpdillingham@gmail.com> | 2021-05-20 22:25:24 -0500 |
|---|---|---|
| committer | JP Dillingham <jpdillingham@gmail.com> | 2021-05-20 22:25:24 -0500 |
| commit | 4f1d983ad758e5533cc85648f2d489952f6975e3 (patch) | |
| tree | 21fc0a309edbe5f8d5d08b0b23814f7eae856c13 /src/slskd/API/DTO/PrivateMessageResponse.cs | |
| parent | 9c48e30741f9a3869f0871c3446c4c4435e81931 (diff) | |
| download | slskd-4f1d983ad758e5533cc85648f2d489952f6975e3.tar.gz | |
more warnings
Diffstat (limited to 'src/slskd/API/DTO/PrivateMessageResponse.cs')
| -rw-r--r-- | src/slskd/API/DTO/PrivateMessageResponse.cs | 21 |
1 files changed, 19 insertions, 2 deletions
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 file="PrivateMessageResponse.cs" company="slskd Team"> +// 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/. +// </copyright> + +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, }; } } |
