fix: realtime late join (#6869)

This PR adds a test to reproduce a bug raised by @adbenitez that peer
channels break when the resend feature is used.

---------

Co-authored-by: iequidoo <dgreshilov@gmail.com>
This commit is contained in:
Sebastian Klähn
2025-07-23 12:50:53 +02:00
committed by GitHub
parent 51f9279e67
commit 1209e95e34
3 changed files with 128 additions and 36 deletions

View File

@@ -2149,7 +2149,7 @@ RETURNING id
created_db_entries.push(row_id);
}
// check all parts whether they contain a new logging webxdc
// Maybe set logging xdc and add gossip topics for webxdcs.
for (part, msg_id) in mime_parser.parts.iter().zip(&created_db_entries) {
// check if any part contains a webxdc topic id
if part.typ == Viewtype::Webxdc {