Merge pull request #19955 from gustavotrott/akka-apps-plugin-update

Fix (akka-apps): Avoid delete again a message from plugin DataChannel
This commit is contained in:
Gustavo Trott 2024-04-03 17:29:17 -03:00 committed by GitHub
commit 139b68c36a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -71,6 +71,7 @@ object PluginDataChannelMessageDAO {
.filter(_.meetingId === meetingId)
.filter(_.pluginName === pluginName)
.filter(_.dataChannel === dataChannel)
.filter(_.deletedAt.isEmpty)
.map(u => (u.deletedAt))
.update(Some(new java.sql.Timestamp(System.currentTimeMillis())))
).onComplete {