diff --git a/plugins/Realtime/realtimeupdate.js b/plugins/Realtime/realtimeupdate.js
index 21938ee1d2..e83cb515d5 100644
--- a/plugins/Realtime/realtimeupdate.js
+++ b/plugins/Realtime/realtimeupdate.js
@@ -166,9 +166,35 @@ RealtimeUpdate = {
var noticeItem = RealtimeUpdate.makeNoticeItem(data);
var noticeItemID = $(noticeItem).attr('id');
- $("#notices_primary .notices").prepend(noticeItem);
- $("#notices_primary .notice:first").css({display:"none"});
- $("#notices_primary .notice:first").fadeIn(1000);
+ var list = $("#notices_primary .notices:first")
+ var prepend = true;
+
+ var threaded = true;
+ if (threaded && data.in_reply_to_status_id) {
+ // aho!
+ var parent = $('#notice-' + data.in_reply_to_status_id);
+ if (parent.length > 0) {
+ list = parent.find('.threaded-notices');
+ if (list.length == 0) {
+ list = $('
a few seconds ago from '+source+"";if(c.conversation_url){ni=ni+'
in context'}if(repeat){ru=repeat.user;ni=ni+'
Repeated by '+ru.screen_name+""}ni=ni+"
";ni=ni+'';if(RealtimeUpdate._userid!=0){var a=$("form#form_notice fieldset input#token");var b=a.val();ni=ni+RealtimeUpdate.makeFavoriteForm(c.id,b);ni=ni+RealtimeUpdate.makeReplyLink(c.id,c.user["screen_name"]);if(RealtimeUpdate._userid==responsible.id){ni=ni+RealtimeUpdate.makeDeleteLink(c.id)}else{if(RealtimeUpdate._userid!=user.id){ni=ni+RealtimeUpdate.makeRepeatForm(c.id,b)}}}ni=ni+"
";ni=ni+"";return ni},makeFavoriteForm:function(c,b){var a;a='a few seconds ago from '+source+"";if(c.conversation_url){ni=ni+'
in context'}if(repeat){ru=repeat.user;ni=ni+'
Repeated by '+ru.screen_name+""}ni=ni+"
";ni=ni+'';if(RealtimeUpdate._userid!=0){var a=$("form#form_notice fieldset input#token");var b=a.val();ni=ni+RealtimeUpdate.makeFavoriteForm(c.id,b);ni=ni+RealtimeUpdate.makeReplyLink(c.id,c.user["screen_name"]);if(RealtimeUpdate._userid==responsible.id){ni=ni+RealtimeUpdate.makeDeleteLink(c.id)}else{if(RealtimeUpdate._userid!=user.id){ni=ni+RealtimeUpdate.makeRepeatForm(c.id,b)}}}ni=ni+"
";ni=ni+"";return ni},makeFavoriteForm:function(c,b){var a;a='