Fix recentchats regex to match all chats.

The response to recentchats is a list of chats separated by commas. Since the regular expression requires a trailing space or comma, it always fails to match the last chat (or the only chat if there is only one recent chat). With this change, all chats are matched.