diff options
| author | Danilo M. <danix@danix.xyz> | 2026-08-24 21:05:45 +0200 |
|---|---|---|
| committer | Danilo M. <danix@danix.xyz> | 2026-08-24 21:05:45 +0200 |
| commit | 9b8a6da4ff39428ce22dc23e16fc48cc062bc01f (patch) | |
| tree | 405b50f818b920c86d7ef0ca470b0e545be218b2 /src/querycompleter.h | |
| parent | 882bb1b36fd777ec5fd5f331f2d589d48b5af5c1 (diff) | |
| download | qtmaildir-9b8a6da4ff39428ce22dc23e16fc48cc062bc01f.tar.gz qtmaildir-9b8a6da4ff39428ce22dc23e16fc48cc062bc01f.zip | |
fix(signatures): match the guard against on-disk text, newline and all
The guard compared the buffer block, with trailing blank lines trimmed,
against knownSignatures() values returned verbatim by text(), which carry
the trailing newline every editor writes. The two never compared equal, so
a signature read back from disk was always treated as unknown: switching
appended a second signature instead of replacing, and None removed nothing.
Normalise each known entry the same way the block scan does, once in
replace(), rather than per comparison.
Part of item 152.
Diffstat (limited to 'src/querycompleter.h')
0 files changed, 0 insertions, 0 deletions
