@@ -16,8 +16,8 @@ public partial class MagisterMessage : IComparable<MagisterMessage>, ICloneable
1616 public string Subject { get ; set ; }
1717 public MagisterPerson Sender { get ; internal set ; }
1818 public string Body { get ; set ; }
19- public PersonList < MagisterPerson > Recipients { get ; set ; }
20- public PersonList < MagisterPerson > CC { get ; set ; }
19+ public PersonList Recipients { get ; set ; }
20+ public PersonList CC { get ; set ; }
2121 public DateTime SentDate { get ; set ; }
2222 internal bool _IsRead ;
2323
@@ -86,8 +86,8 @@ public MagisterMessage()
8686 this . IDKey = 0 ;
8787 this . SenderGroupID = this . Mata . Person . GroupID ;
8888 this . Sender = this . Mata . Person ;
89- this . Recipients = new PersonList < MagisterPerson > ( this . Mata ) ;
90- this . CC = new PersonList < MagisterPerson > ( this . Mata ) ;
89+ this . Recipients = new PersonList ( this . Mata ) ;
90+ this . CC = new PersonList ( this . Mata ) ;
9191 }
9292
9393 /// <summary>
@@ -112,8 +112,8 @@ public MagisterMessage(Mata Mata)
112112 this . IDKey = 0 ;
113113 this . SenderGroupID = this . Mata . Person . GroupID ;
114114 this . Sender = this . Mata . Person ;
115- this . Recipients = new PersonList < MagisterPerson > ( this . Mata ) ;
116- this . CC = new PersonList < MagisterPerson > ( this . Mata ) ;
115+ this . Recipients = new PersonList ( this . Mata ) ;
116+ this . CC = new PersonList ( this . Mata ) ;
117117 }
118118
119119 /// <summary>
@@ -140,7 +140,7 @@ public MagisterMessage CreateForwardMessage()
140140 Deleted = false ,
141141 _IsRead = true ,
142142 Subject = tmpSubject ,
143- Recipients = new PersonList < MagisterPerson > ( this . Mata ) ,
143+ Recipients = new PersonList ( this . Mata ) ,
144144 Ref = null ,
145145 State = 0 ,
146146 SentDate = DateTime . UtcNow ,
@@ -172,7 +172,7 @@ public MagisterMessage CreateForwardMessage(string ContentAdd)
172172 Deleted = false ,
173173 _IsRead = true ,
174174 Subject = tmpSubject ,
175- Recipients = new PersonList < MagisterPerson > ( this . Mata ) ,
175+ Recipients = new PersonList ( this . Mata ) ,
176176 Ref = null ,
177177 State = 0 ,
178178 SentDate = DateTime . UtcNow ,
@@ -198,7 +198,7 @@ public MagisterMessage CreateReplyToAllMessage(string ContentAdd)
198198 Sender = this . Sender ,
199199 _Folder = this . _Folder ,
200200 Attachments = new ReadOnlyCollection < Attachment > ( new List < Attachment > ( ) ) ,
201- CC = new PersonList < MagisterPerson > ( this . Mata , tmpCC ) ,
201+ CC = new PersonList ( tmpCC , this . Mata ) ,
202202 IsFlagged = this . IsFlagged ,
203203 ID = this . ID ,
204204 SenderGroupID = 4 ,
@@ -209,7 +209,7 @@ public MagisterMessage CreateReplyToAllMessage(string ContentAdd)
209209 Deleted = false ,
210210 _IsRead = true ,
211211 Subject = tmpSubject ,
212- Recipients = new PersonList < MagisterPerson > ( this . Mata ) { this . Sender } ,
212+ Recipients = new PersonList ( this . Mata ) { this . Sender } ,
213213 Ref = null ,
214214 State = 0 ,
215215 SentDate = DateTime . UtcNow ,
@@ -242,7 +242,7 @@ public MagisterMessage CreateReplyMessage(string ContentAdd)
242242 Deleted = false ,
243243 _IsRead = true ,
244244 Subject = tmpSubject ,
245- Recipients = new PersonList < MagisterPerson > ( this . Mata ) { this . Sender } ,
245+ Recipients = new PersonList ( this . Mata ) { this . Sender } ,
246246 Ref = null ,
247247 State = 0 ,
248248 SentDate = DateTime . UtcNow ,
@@ -396,10 +396,10 @@ internal partial class MagisterStyleMessage
396396
397397 public MagisterMessage ToMagisterMessage ( int index )
398398 {
399- var tmpReceivers = this . Ontvangers . ToList ( true ) ;
399+ var tmpReceivers = this . Ontvangers . ToList ( true , true ) ;
400400 tmpReceivers . Sort ( ) ;
401401
402- var tmpCopiedReceivers = this . KopieOntvangers . ToList ( true ) ;
402+ var tmpCopiedReceivers = this . KopieOntvangers . ToList ( true , true ) ;
403403 tmpCopiedReceivers . Sort ( ) ;
404404
405405 return new MagisterMessage ( )
0 commit comments