public void startChatActivity(Context context, Peer peer, boolean compose) {
        Bundle b = new Bundle();
        b.putLong(Intents.EXTRA_CHAT_PEER, peer.getUnuqueId());
        b.putBoolean(Intents.EXTRA_CHAT_COMPOSE, compose);
        if (!startDelegateActivity(context, delegate.getChatIntent(peer, compose), b, new int[]{Intent.FLAG_ACTIVITY_SINGLE_TOP})) {
            startActivity(context, b, ChatActivity.class);
        }
    }
public void startChatActivity ( Context context , Peer peer , boolean compose ) { Bundle b = new Bundle ( ) ; b . putLong ( Intents . EXTRA_CHAT_PEER , peer . getUnuqueId ( ) ) ; b . putBoolean ( Intents . EXTRA_CHAT_COMPOSE , compose ) ; if ( ! startDelegateActivity ( context , delegate . getChatIntent ( peer , compose ) , b , new int [ ] { Intent . FLAG_ACTIVITY_SINGLE_TOP } ) ) { startActivity ( context , b , ChatActivity . class ) ; } }
Method is used internally for starting default activity or activity added in delegate

@param context current context