1
0
mirror of https://github.com/tateisu/SubwayTooter synced 2024-12-26 17:03:21 +01:00

リファクタ

This commit is contained in:
tateisu 2018-09-01 22:50:37 +09:00
parent d114933d8c
commit a48298ffb6

View File

@ -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) {