mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-11-03 12:08:31 +00:00
Populate Assignees while adding posts to a thread (#13882)
This commit is contained in:
parent
ca7a04a457
commit
5989b99536
@ -411,6 +411,10 @@ public class FeedRepository {
|
||||
|
||||
// Update the thread with the new post
|
||||
Thread thread = EntityUtil.validate(id, dao.feedDAO().findById(id), Thread.class);
|
||||
|
||||
// Populate Assignees if type is task
|
||||
populateAssignees(thread);
|
||||
|
||||
thread.withUpdatedBy(userName).withUpdatedAt(System.currentTimeMillis());
|
||||
FeedUtil.addPost(thread, post);
|
||||
dao.feedDAO().update(id, JsonUtils.pojoToJson(thread));
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user