"Fossies" - the Fresh Open Source Software Archive
Member "Signal-Server-11.17.0/service/src/main/resources/lua/clear_presence.lua" (30 Nov 2023, 183 Bytes) of package /linux/www/Signal-Server-11.17.0.tar.gz:
As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) Lua source code syntax highlighting (style: standard) with prefixed line numbers and code folding option.
Alternatively you can here view or download the uninterpreted source code file.
1 local presenceKey = KEYS[1] 2 local presenceUuid = ARGV[1] 3 4 if redis.call("GET", presenceKey) == presenceUuid then 5 redis.call("DEL", presenceKey) 6 return true 7 end 8 9 return false