Additional bug fixes

This commit is contained in:
2026-04-20 12:02:12 -04:00
parent cb4945d469
commit d94c1342b0
2 changed files with 2 additions and 2 deletions

View File

@@ -88,7 +88,7 @@ function API:sync(options)
filter = options.filter,
since = options.since,
full_state = options.full or false,
set_presence = online and nil or "offline",
set_presence = options.online and nil or "offline",
timeout = options.timeout,
}
end

View File

@@ -239,7 +239,7 @@ local make_unimplemented_handler = function (self, event)
end
else
local function handler(self, event) end
make_unimplemented_handler = function (self, event)
local make_unimplemented_handler = function (self, event)
self:_log("no handler for '%s' events (this warning is shown only once)", event.type)
return handler
end