Fix #2754 (make /xhtml send a message with receipts, chatstates and display it properly)

(also make the message appear in PrivateTabs)