Compare commits
1 Commits
cb4945d469
...
d94c1342b0
| Author | SHA1 | Date | |
|---|---|---|---|
|
d94c1342b0
|
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user