Merging chat logs