Fixed recent messages.

Now only 10 messages are sent to the client instead of all the messages
in the channel.