mirror of
https://github.com/tateisu/SubwayTooter
synced 2024-12-27 01:13:31 +01:00
リファクタ
This commit is contained in:
parent
d114933d8c
commit
a48298ffb6
@ -346,11 +346,7 @@ class PostHelper(
|
|||||||
}
|
}
|
||||||
|
|
||||||
if(in_reply_to_id != null) {
|
if(in_reply_to_id != null) {
|
||||||
if(account.isMisskey) {
|
json.put("replyId", in_reply_to_id.toString())
|
||||||
json.put("replyId", in_reply_to_id.toString())
|
|
||||||
} else {
|
|
||||||
json.put("in_reply_to_id", in_reply_to_id.toLong())
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
json.put("viaMobile",true)
|
json.put("viaMobile",true)
|
||||||
@ -413,11 +409,7 @@ class PostHelper(
|
|||||||
)
|
)
|
||||||
|
|
||||||
if(in_reply_to_id != null) {
|
if(in_reply_to_id != null) {
|
||||||
if(account.isMisskey) {
|
json.put("in_reply_to_id", in_reply_to_id.toLong())
|
||||||
json.put("replyId", in_reply_to_id.toString())
|
|
||||||
} else {
|
|
||||||
json.put("in_reply_to_id", in_reply_to_id.toLong())
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if(attachment_list != null) {
|
if(attachment_list != null) {
|
||||||
|
Loading…
Reference in New Issue
Block a user