[smuxi] Engine: MessageModel no longer contains a Protocol property



commit 0949647139e8a8d6c6cfa782d07ded4eab06afd7
Author: Mirco Bauer <meebey meebey net>
Date:   Sun Feb 23 12:32:33 2014 +0100

    Engine: MessageModel no longer contains a Protocol property

 src/Engine/Messages/Dto/MessageDtoModelV1.cs |    4 ----
 1 files changed, 0 insertions(+), 4 deletions(-)
---
diff --git a/src/Engine/Messages/Dto/MessageDtoModelV1.cs b/src/Engine/Messages/Dto/MessageDtoModelV1.cs
index 35ce83f..3a14717 100644
--- a/src/Engine/Messages/Dto/MessageDtoModelV1.cs
+++ b/src/Engine/Messages/Dto/MessageDtoModelV1.cs
@@ -71,9 +71,6 @@ namespace Smuxi.Engine.Dto
                         var urlPart = new UrlMessagePartModel() {
                             Url = msgPart.Url
                         };
-                        if (msgPart.Protocol.HasValue) {
-                            urlPart.Protocol = msgPart.Protocol.Value;
-                        }
                         part = urlPart;
                         break;
                     case "Image":
@@ -138,7 +135,6 @@ namespace Smuxi.Engine.Dto
                 var urlPart = (UrlMessagePartModel) part;
                 Type = "URL";
                 Url = urlPart.Url;
-                Protocol = urlPart.Protocol;
             }
             if (part is ImageMessagePartModel) {
                 var imagePart = (ImageMessagePartModel) part;


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]