Bug 1102849 - Register and show events of a Room

We have two ways of setting result.txt, ones have username and others haven't it. The first ones will resolve the promise in the callback of the ContactsHelper, the second ones at the end of the switch. At the end of the switch we don't reject it