Slack has, publicly, a multi-member security team! That's entirely focused on the chat system that I don't have to put any of my teams time towards.
Which is more secure?
A) Slack.
B) Open source software on a LAN accessible only through physical entry, SSH, and/or a VPN.
Then I suggest you put more effort into securing your LAN situation because that is a vote indicating your belief your workstations are insecure.