mod: show RICH_TEXT_NODE_TYPE_VIEW_PICTURE

Closes #691

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-04-16 07:33:10 +08:00
parent bc8907b3ef
commit 2cc9324f08
4 changed files with 54 additions and 23 deletions

View File

@@ -145,8 +145,9 @@ class MsgHttp {
}
]
},
if (replyOption != null || publishTime != null)
if (privatePub != null || replyOption != null || publishTime != null)
"option": {
if (privatePub != null) 'private_pub': privatePub,
if (publishTime != null) "timer_pub_time": publishTime,
if (replyOption == ReplyOption.close)
"close_comment": 1
@@ -160,10 +161,6 @@ class MsgHttp {
: pics != null
? 2
: 1,
if (privatePub != null)
'create_option': {
'private_pub': privatePub,
},
if (pics != null) 'pics': pics,
"attach_card": null,
"upload_id":