changed 'groupchat' to 'chat' in 1:1 logic