mirror of
https://github.com/twisterarmy/twister-html.git
synced 2025-03-13 05:51:03 +00:00
add handling of new userpost property sig_wort
finally
This commit is contained in:
parent
5da5cde79a
commit
f251cf0949
@ -293,6 +293,8 @@ function newRtMsg(postData, msg) {
|
||||
return;
|
||||
}
|
||||
|
||||
userpost.sig_wort = undefined;
|
||||
|
||||
var rtObj = {sig_userpost: sig_userpost, userpost: userpost};
|
||||
|
||||
if (typeof lastPostId !== 'undefined') {
|
||||
|
@ -70,6 +70,10 @@ function postToElem(post, kind, promoted) {
|
||||
|
||||
// Obtain data from userpost
|
||||
var userpost = post.userpost;
|
||||
|
||||
if (post.sig_wort)
|
||||
userpost.sig_wort = post.sig_wort;
|
||||
|
||||
if (userpost.rt) {
|
||||
rt = userpost.rt;
|
||||
if (userpost.msg) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user