mirror of
https://github.com/signalapp/Signal-Server
synced 2026-04-21 23:18:05 +01:00
10 lines
183 B
Lua
10 lines
183 B
Lua
local presenceKey = KEYS[1]
|
|
local presenceUuid = ARGV[1]
|
|
|
|
if redis.call("GET", presenceKey) == presenceUuid then
|
|
redis.call("DEL", presenceKey)
|
|
return true
|
|
end
|
|
|
|
return false
|