Wetter: Fixe Caching-Bug
This commit is contained in:
parent
638c5e1ae9
commit
7418e71b2c
@ -159,12 +159,11 @@ function weather:inline_callback(inline_query, config, matches)
|
|||||||
is_personal = false
|
is_personal = false
|
||||||
else
|
else
|
||||||
local set_location = get_location(user_id)
|
local set_location = get_location(user_id)
|
||||||
|
is_personal = true
|
||||||
if not set_location then
|
if not set_location then
|
||||||
city = 'Berlin, Deutschland'
|
city = 'Berlin, Deutschland'
|
||||||
is_personal = false
|
|
||||||
else
|
else
|
||||||
city = set_location
|
city = set_location
|
||||||
is_personal = true
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
local lat, lng = weather:get_city_coordinates(city, config)
|
local lat, lng = weather:get_city_coordinates(city, config)
|
||||||
|
Reference in New Issue
Block a user