Skip to content

Signal import: duplicate attachments, placeholders vs files the hub has, empty bodies filled - #24

Merged
zyansheep merged 1 commit into
mainfrom
import/signal-v2-fixes
Nov 8, 2026
Merged

zyansheep merged 1 commit into
mainfrom
import/signal-v2-fixes

Conversation

@zyansheep

Copy link
Copy Markdown
Contributor

Found by a trial import of a real backup into a copy of the hub's database:

  • A message with the same file attached twice broke the import (attachment id collision): each position now gets its own id.
  • A placeholder for a file the backup lacks, where live sync has the file and no words, counts as the same message.
  • Words the hub never had (a sticker's emoji) are filled in instead of flagged.

Trial on the copy afterwards: 57,444 new, 2,876 same, 7 filled, 22 left for review (20 are later edits the backup has), unread unchanged, integrity ok.

🤖 Generated with Claude Code

… placeholder for a file the hub has is not a difference, and words the hub never had are filled in

Found by a trial import of a real backup into a copy of the hub: a message with one picture attached twice
broke the import, 22 'differences' were pictures live sync has but the backup lacks, and 7 were stickers
whose emoji live sync never got.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@zyansheep
zyansheep enabled auto-merge (squash) November 8, 2026 02:40
@zyansheep
zyansheep merged commit 803a83c into main Nov 8, 2026
1 check passed
@zyansheep
zyansheep deleted the import/signal-v2-fixes branch November 8, 2026 02:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant