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.
This commit is contained in:
Brion Vibber
2010-05-17 19:37:47 +00:00
parent 1999b836c0
commit e36df29212
3 changed files with 30 additions and 15 deletions

View File

@@ -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) {