How to remove the rtmedia button from activity page

@joshuaabenazer: How to disable the rtmedia button from the activity page, But i want all the activity stream updates of the rtmedia.

@joshuaabenazer which hook i want to remove to achieve this

@stan-reeves-963 - Try adding this to your theme's functions.php

global $rtmedia_buddypress_activity;  
remove_action( "bp_after_activity_post_form", array( &$rtmedia_buddypress_activity, "bp_after_activity_post_form" ) );  

@joshuaabenazer: you are amazing. thanks again :)

You are welcome :)