http://xmpp.org/extensions/xep-0045.html exists. Its groupchat, it could probably be amended to support inline code, and its persistence model lets a server chose to broadcast the message history or not.
And it is incredibly more user-friendly to make an XMPP account through a GUI client, have username@server, then join group@server for groupchat. No /join, no /register, no port management or #channel management. Hell, any reasonable XMPP client would default to your current server for groupchat so when you click "join chat room" you get the server part prefilled and you just enter the group name (or pick it from a list of groups - the protocol supports channel announcements).
I get that XMPP is a horrible format (XML) and horribly bloated (committee) and horribly old (1999?) but if its that broken why can't we make another protocol for peer to peer realtime communications? Why isn't webrtc becoming that transport? Why do we keep getting these one shot web startups trying to replace open protocols every other weekend for a quick buck?