Why did we all actually leave IRC? I haven’t tried Mattermost, but IRC is/was sure better than Slack
But this is just UI candy, could be implemented in an IRC client too. From a protocol standpoint, what IRC really lacks is the consistent handling of chat history. I can imagine IRC handling this too; every registered user could always be "online" on the server, and therefore receiving all messages, and when their client actually connects, they would see the messages similarly how the IMAP works for email. But this is really reaching now, isn't it? Why not just use something that's similar in spirit, but actually updated to the moders internet, like the Matrix protocol?
Instead Slack & co add server side search and effectively turn company chat into a eternal meeting with random participants.