use top navbar search to search messages. closes gh-517