def getRoomHistory(room): hs = History() search = hs.getRoomMessages(room=room) return jsonify(search)