// merge results with their corresponding namespaces
// NOTE: We don't want to sort messages here because the ordering depends on the snode and when it received each message.
// The last_hash for that snode has to be the last one we've received from that same snode, othwerwise we end up fetching the same messages over and over again.
`handleSeenMessages: ${newMessages.length} out of ${messages.length} are not seen yet. snode: ${toPollFrom?ed25519Str(toPollFrom.pubkey_ed25519):'undefined'}`
);
// don't handle incoming messages from group swarms when using the userconfig and the group is not one of the tracked group
`[pollOnceForOurDisplayName] no snode in swarm for ${ed25519Str(pubkey.key)}`
);
}
if(abortSignal?.aborted){
thrownewNotFoundError(
@ -702,6 +690,11 @@ export class SwarmPolling {
);
}
// Note: always print something so we know if the polling is hanging
window.log.info(
`WIP: [onboarding] about to pollOnceForOurDisplayName of ${ed25519Str(pubkey.key)} from snode: ${ed25519Str(toPollFrom.pubkey_ed25519)} namespaces: ${[SnodeNamespaces.UserProfile]}`
// If webrtc does not find any audio input when initializing, the offer will not have a line with `a=fmtp:111` at all, `lineWithFtmpIndex` will be invalid.