mirror of https://github.com/usbharu/Hideout.git
fix: 削除フラグが永続化されていなかったのを修正
This commit is contained in:
parent
8a18780963
commit
b3723da219
|
@ -33,6 +33,7 @@ class PostRepositoryImpl(
|
||||||
it[replyId] = post.replyId
|
it[replyId] = post.replyId
|
||||||
it[sensitive] = post.sensitive
|
it[sensitive] = post.sensitive
|
||||||
it[apId] = post.apId
|
it[apId] = post.apId
|
||||||
|
it[deleted] = post.delted
|
||||||
}
|
}
|
||||||
PostsMedia.batchInsert(post.mediaIds) {
|
PostsMedia.batchInsert(post.mediaIds) {
|
||||||
this[PostsMedia.postId] = post.id
|
this[PostsMedia.postId] = post.id
|
||||||
|
@ -57,6 +58,7 @@ class PostRepositoryImpl(
|
||||||
it[replyId] = post.replyId
|
it[replyId] = post.replyId
|
||||||
it[sensitive] = post.sensitive
|
it[sensitive] = post.sensitive
|
||||||
it[apId] = post.apId
|
it[apId] = post.apId
|
||||||
|
it[deleted] = post.delted
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return singleOrNull == null
|
return singleOrNull == null
|
||||||
|
|
Loading…
Reference in New Issue