The adoption of a client-created topic's thread-less opener required
message_id == creation + 1. Private-chat message ids come from ONE sequence
shared by every private chat of the bot account (bot replies included,
core.telegram.org/api/updates "Common message ID sequence"), so any message
in another DM, or a bot reply, between the creation and the opener broke
adjacency and the opener misrouted to the previous topic again. One-shot
adoption also split a long opener the client sends as several messages:
chunk 1 went to the new topic, chunk 2 back to the old one.
Now a thread-less message from the creator adopts the new topic while it
arrives within 5 s of the creation or of the previous adopted message; a
stamped message or a longer gap ends the follow. Per-chat FIFO update
processing (PerChatUpdateProcessor) means nothing from this chat lands in
between, so adjacency bought no safety.
Also drops the duplicated identity helpers the mixin redefined from the
adapter and restores the unrelated _cache_dm_topic_from_message move.
Live (real gateway + Telegram stand-in, DM topic mode, production batching):
main misroutes all four cases; the pairing as proposed misroutes the
interleaved-DM and split-opener cases; this lands every case in the new topic,
and a lobby message 7 s later still recovers to the bound topic.