text: const express = require("express");
  const router = express.Router();
  
  // libs
  const Messages = require("../src/lib/Messages");
  
  router.get("/list", (req, res, next) => {
    Messages.list(req.query.roomId, messages => {
      res.json(messages);
    });
  });
  
  module.exports = router;
  