improve timestamp display in chat view

Instead of showing timestamp every three messages, show it if
conversation gap is more than 15 minutes.