connObj = null;
}
// Invite from all open connections
if(connObj == null) {
Dispatcher.getInstance().dispatch(new DispatchableEvent(null) {
protected void dispatch() {
_uiService.inviteToBBM();
try {
onComplete.invoke(null, null);
} catch(Exception e) {
// do nothing
}
}
});
// Invite from a specific connection
} else {
final BBMPlatformConnection conn = ((ConnectionObject) connObj).getConnection();
Dispatcher.getInstance().dispatch(new DispatchableEvent(null) {
protected void dispatch() {
_uiService.inviteToBBM(conn);
try {
onComplete.invoke(null, null);
} catch(Exception e) {