mirror of
https://github.com/usbharu/Hideout.git
synced 2026-07-03 04:07:53 +00:00
fix: 削除フラグが永続化されていなかったのを修正
This commit is contained in:
+2
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user