Mercurial Hosting > chat
view src/active.js.luan @ 49:080eb027d93d
minor
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Fri, 28 Feb 2025 20:27:34 -0700 |
parents | 7ea33179592a |
children | 624654817f99 |
line wrap: on
line source
local Luan = require "luan:Luan.luan" local error = Luan.error local User = require "site:/lib/User.luan" local current_user = User.current or error() local Notify = require "site:/lib/Notify.luan" return function() local user = current_user() or error() Notify.remove(user) end