force sending muc invitation to the jid/resource if we're chatting with a specific resource. Fixes #7582