Skip to content

Commit

Permalink
feat :: update generating status
Browse files Browse the repository at this point in the history
  • Loading branch information
jombidev committed Oct 22, 2024
1 parent fe47b32 commit fcd9996
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -78,9 +78,10 @@ class GenerativeImageService(
generated.collect {
when (it) {
is QueueInfoMessage -> {
actor.addQueue(room.id!!, it.position, true)
actor.setGenerating(room.id!!, true, it.position)
}
is GenerateMessage -> {
actor.setGenerating(room.id!!, false, -1)
if (it.result) {
guaranteed = it.image!!
}
Expand Down

0 comments on commit fcd9996

Please sign in to comment.