Avoid delete again a message from plugin DataChannel
This commit is contained in:
parent
1e6f7d9136
commit
5660f2c941
@ -101,7 +101,8 @@ object PluginDataChannelMessageDAO {
|
||||
DatabaseConnection.db.run(
|
||||
sqlu"""UPDATE "pluginDataChannelMessage" SET
|
||||
"deletedAt" = current_timestamp
|
||||
WHERE "meetingId" = ${meetingId}
|
||||
WHERE "deletedAt" is null
|
||||
AND "meetingId" = ${meetingId}
|
||||
AND "pluginName" = ${pluginName}
|
||||
AND "dataChannel" = ${dataChannel}
|
||||
AND "messageId" = ${messageId}"""
|
||||
|
Loading…
Reference in New Issue
Block a user