Merge "ui: join only if joinable." am: 2454b2493a am: ccff03d196
am: b4aad37e21

Change-Id: I13bc78cf0209b586181b00bc13f642a2e68c3e3d