display longer posts (>140 characters)

This commit is contained in:
Miguel Freitas 2016-03-25 20:39:36 -03:00
parent 8819187d2d
commit 3023b90c8a

View File

@ -66,14 +66,14 @@ function postToElem(post, kind, promoted) {
username = userpost.n; username = userpost.n;
k = userpost.k; k = userpost.k;
time = userpost.time; time = userpost.time;
msg = userpost.msg; msg = userpost.msg + (userpost.msg2 || '');
content_to_rt = $.toJSON(userpost); content_to_rt = $.toJSON(userpost);
content_to_sigrt = post.sig_userpost; content_to_sigrt = post.sig_userpost;
} else { } else {
username = rt.n; username = rt.n;
k = rt.k; k = rt.k;
time = rt.time; time = rt.time;
msg = rt.msg; msg = rt.msg + (rt.msg2 || '');
content_to_rt = $.toJSON(rt); content_to_rt = $.toJSON(rt);
content_to_sigrt = userpost.sig_rt; content_to_sigrt = userpost.sig_rt;
} }
@ -82,7 +82,7 @@ function postToElem(post, kind, promoted) {
username = userpost.n; username = userpost.n;
k = userpost.k; k = userpost.k;
time = userpost.time; time = userpost.time;
msg = userpost.msg; msg = userpost.msg + (userpost.msg2 || '');
content_to_rt = $.toJSON(userpost); content_to_rt = $.toJSON(userpost);
content_to_sigrt = post.sig_userpost; content_to_sigrt = post.sig_userpost;
} }