Remove sqlite base64 contact store from AccountContact.
This commit is contained in:
@@ -27,17 +27,9 @@ public class AccountContact : IEquatable<AccountContact>
|
||||
/// <summary>
|
||||
/// File ID for the contact picture stored on disk.
|
||||
/// The actual file lives at {ApplicationDataFolderPath}/contacts/{ContactPictureFileId}.jpg.
|
||||
/// Preferred over Base64ContactPicture — allows native BitmapImage file loading and avoids SQLite bloat.
|
||||
/// </summary>
|
||||
public Guid? ContactPictureFileId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Legacy base64 encoded profile image of the contact.
|
||||
/// For user-set contact pictures: migrate to file storage via ContactPictureFileId instead.
|
||||
/// Still used for OAuth account profile pictures (MailAccount.Base64ProfilePictureData).
|
||||
/// </summary>
|
||||
public string Base64ContactPicture { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// All registered accounts have their contacts registered as root.
|
||||
/// Root contacts must not be overridden by any configuration.
|
||||
|
||||
@@ -20,7 +20,7 @@ public interface IMailItemDisplayInformation : INotifyPropertyChanged
|
||||
bool IsCalendarEvent { get; }
|
||||
bool IsFlagged { get; }
|
||||
DateTime CreationDate { get; }
|
||||
string Base64ContactPicture { get; }
|
||||
Guid? ContactPictureFileId { get; }
|
||||
bool ThumbnailUpdatedEvent { get; }
|
||||
bool IsThreadExpanded { get; }
|
||||
AccountContact SenderContact { get; }
|
||||
|
||||
Reference in New Issue
Block a user