Properly tag account wallpapers as such during export.

This commit is contained in:
Greyson Parrelli
2026-01-14 13:49:28 -05:00
parent b24c4e3302
commit 08beb7ff43

View File

@@ -25,7 +25,7 @@ fun Frame.getAllReferencedArchiveAttachmentInfos(): Set<ArchiveAttachmentInfo> {
}
private fun AccountData.getAllReferencedArchiveAttachmentInfos(): Set<ArchiveAttachmentInfo> {
val info = this.accountSettings?.defaultChatStyle?.wallpaperPhoto?.toArchiveAttachmentInfo()
val info = this.accountSettings?.defaultChatStyle?.wallpaperPhoto?.toArchiveAttachmentInfo(isWallpaper = true)
return if (info != null) {
setOf(info)