Index: bp-themes/bp-default/_inc/ajax.php
===================================================================
--- bp-themes/bp-default/_inc/ajax.php	(revision 6889)
+++ bp-themes/bp-default/_inc/ajax.php	(working copy)
@@ -125,6 +125,10 @@
 	// If page and search_terms have been passed via the AJAX post request, use those.
 	if ( ! empty( $_POST['page'] ) && '-1' != $_POST['page'] )
 		$qs[] = 'page=' . $_POST['page'];
+		
+	// exludes activity just posted and avoids duplicate ids
+	if ( ! empty( $_POST['exclude_just_posted'] ) )
+		$qs[] = 'exclude=' . $_POST['exclude_just_posted'];
 
 	$object_search_text = bp_get_search_default_text( $object );
  	if ( ! empty( $_POST['search_terms'] ) && $object_search_text != $_POST['search_terms'] && 'false' != $_POST['search_terms'] && 'undefined' != $_POST['search_terms'] )
Index: bp-themes/bp-default/_inc/global.js
===================================================================
--- bp-themes/bp-default/_inc/global.js	(revision 6889)
+++ bp-themes/bp-default/_inc/global.js	(working copy)
@@ -102,7 +102,7 @@
 				}
 
 				jq("ul#activity-stream").prepend(response);
-				jq("ul#activity-stream li:first").addClass('new-update');
+				jq("ul#activity-stream li:first").addClass('new-update just-posted');
 
 				if ( 0 != jq("#latest-update").length ) {
 					var l = jq("ul#activity-stream li.new-update .activity-content .activity-inner p").html();
@@ -300,11 +300,21 @@
 				} );
 
 			var oldest_page = ( jq.cookie('bp-activity-oldestpage') * 1 ) + 1;
+			
+			var just_posted = '';
+			
+			jq('#content li.just-posted').each( function(){
+				just_posted += jq(this).attr('id').replace( 'activity-','' );
+			});
+			
+			if( just_posted.length > 2 )
+				just_posted = just_posted.substring(-1);
 
 			jq.post( ajaxurl, {
 				action: 'activity_get_older_updates',
 				'cookie': encodeURIComponent(document.cookie),
-				'page': oldest_page
+				'page': oldest_page,
+				'exclude_just_posted':just_posted
 			},
 			function(response)
 			{
Index: bp-templates/bp-legacy/buddypress-functions.php
===================================================================
--- bp-templates/bp-legacy/buddypress-functions.php	(revision 6889)
+++ bp-templates/bp-legacy/buddypress-functions.php	(working copy)
@@ -415,6 +415,10 @@
 	// If page and search_terms have been passed via the AJAX post request, use those.
 	if ( ! empty( $_POST['page'] ) && '-1' != $_POST['page'] )
 		$qs[] = 'page=' . $_POST['page'];
+		
+	// exludes activity just posted and avoids duplicate ids
+	if ( ! empty( $_POST['exclude_just_posted'] ) )
+		$qs[] = 'exclude=' . $_POST['exclude_just_posted'];
 
 	$object_search_text = bp_get_search_default_text( $object );
  	if ( ! empty( $_POST['search_terms'] ) && $object_search_text != $_POST['search_terms'] && 'false' != $_POST['search_terms'] && 'undefined' != $_POST['search_terms'] )
Index: bp-templates/bp-legacy/js/buddypress.js
===================================================================
--- bp-templates/bp-legacy/js/buddypress.js	(revision 6889)
+++ bp-templates/bp-legacy/js/buddypress.js	(working copy)
@@ -102,7 +102,7 @@
 				}
 
 				jq("#activity-stream").prepend(response);
-				jq("#activity-stream li:first").addClass('new-update');
+				jq("#activity-stream li:first").addClass('new-update just-posted');
 
 				if ( 0 != jq("#latest-update").length ) {
 					var l = jq("#activity-stream li.new-update .activity-content .activity-inner p").html();
@@ -303,11 +303,21 @@
 				} );
 
 			var oldest_page = ( jq.cookie('bp-activity-oldestpage') * 1 ) + 1;
+			
+			var just_posted = '';
+			
+			jq('#buddypress li.just-posted').each( function(){
+				just_posted += jq(this).attr('id').replace( 'activity-','' );
+			});
+			
+			if( just_posted.length > 2 )
+				just_posted = just_posted.substring(-1);
 
 			jq.post( ajaxurl, {
 				action: 'activity_get_older_updates',
 				'cookie': encodeURIComponent(document.cookie),
-				'page': oldest_page
+				'page': oldest_page,
+				'exclude_just_posted':just_posted
 			},
 			function(response)
 			{
