summaryrefslogtreecommitdiff
path: root/plugins/Realtime/realtimeupdate.js
diff options
context:
space:
mode:
authorBrion Vibber <brion@pobox.com>2010-05-17 19:37:47 +0000
committerBrion Vibber <brion@pobox.com>2010-05-17 19:37:47 +0000
commite36df2921260a8970c81f2d729b121816be188e5 (patch)
treec7a09131a1fea0f40bed5a4ce92226b15a9e0b3d /plugins/Realtime/realtimeupdate.js
parent1999b836c0681c44171d849028fb2d5d0c3d01b8 (diff)
Patch from g0: fix for conversation links in Realtime updates
Previously was using the reply-to URL, which didn't match with other displays. Now sends to the right conversation page.
Diffstat (limited to 'plugins/Realtime/realtimeupdate.js')
-rw-r--r--plugins/Realtime/realtimeupdate.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/Realtime/realtimeupdate.js b/plugins/Realtime/realtimeupdate.js
index 2e5851ae5..25dc12d58 100644
--- a/plugins/Realtime/realtimeupdate.js
+++ b/plugins/Realtime/realtimeupdate.js
@@ -149,8 +149,8 @@ RealtimeUpdate = {
"from "+
"<span class=\"device\">"+source+"</span>"+ // may have a link
"</span>";
- if (data['in_reply_to_status_id']) {
- ni = ni+" <a class=\"response\" href=\""+data['in_reply_to_status_url']+"\">in context</a>";
+ if (data['conversation_url']) {
+ ni = ni+" <a class=\"response\" href=\""+data['conversation_url']+"\">in context</a>";
}
if (repeat) {