Compare commits
1 Commits
cb4945d469
...
d94c1342b0
| Author | SHA1 | Date | |
|---|---|---|---|
|
d94c1342b0
|
@@ -88,7 +88,7 @@ function API:sync(options)
|
|||||||
filter = options.filter,
|
filter = options.filter,
|
||||||
since = options.since,
|
since = options.since,
|
||||||
full_state = options.full or false,
|
full_state = options.full or false,
|
||||||
set_presence = online and nil or "offline",
|
set_presence = options.online and nil or "offline",
|
||||||
timeout = options.timeout,
|
timeout = options.timeout,
|
||||||
}
|
}
|
||||||
end
|
end
|
||||||
|
|||||||
@@ -239,7 +239,7 @@ local make_unimplemented_handler = function (self, event)
|
|||||||
end
|
end
|
||||||
else
|
else
|
||||||
local function handler(self, event) end
|
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)
|
self:_log("no handler for '%s' events (this warning is shown only once)", event.type)
|
||||||
return handler
|
return handler
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user