mirror of
https://github.com/signalapp/Signal-Server.git
synced 2026-12-02 08:36:53 +00:00
Add an explicit client presence system.
This commit is contained in:
1 parent
9457325119
commit
2c29f831e8
10 files changed
+572
-31
No files matched your search
@@ -0,0 +1,9 @@
|
||||
local presenceKey = KEYS[1]
|
||||
local presenceUuid = ARGV[1]
|
||||
|
||||
if redis.call("GET", presenceKey) == presenceUuid then
|
||||
redis.call("DEL", presenceKey)
|
||||
return true
|
||||
end
|
||||
|
||||
return false
|
||||
Reference in new issue
Block a user