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