Some flask_chat hacks.