chat announcement middleware