Great move to go with open source solutions like Mattermost and Discourse.
Often enough they end up writing their own tools, if nothing fitting is available, and this might end up in the public domain (since AFAIK everything at CERN is basically paid for by the public, i.e. various member states, EU etc.).
So far they seem to be searching for the worst of all worlds.