Add auto join on invite module

Backported to 2.0 by @attilamolnar