Click or tap #channel to join it on the server that the current focused chat is in.
For example, if #fsf%irc.libera.chat@irc.cheogram.com is in focus, and someone in the chat mentions #trisquel, tapping on #trisquel will join #trisquel%irc.libera.chat@irc.cheogram.com easily.
Another idea is letting users type /join #trisquel in the message composition area and it will join the aforementioned group as well.