Fix error, if joinChat callback is missing

Should the callback be empty or a console log of the err by default?