Previous messages not showing when creating a channel with a user with past chat history

Thanks for the clarification.

That is the default expected behavior when creating a channel – it creates a new channel every time. If you want to use the existing channel for the same members, instead of creating a new channel, you can create distinct channels. To do that, you can set the config as documented here.