adium/adium
Clone
Summary
Browse
Changes
Graph
Prompt the user to authenticate again when using the refresh_token gives an error. Also, show the error to the user.
GoogleOAuth2
2015-04-01, Thijs Alkemade
c4923ddd82bf
Prompt the user to authenticate again when using the refresh_token gives an error. Also, show the error to the user.
global
HandyAdiumScripts
on
run
tell
application
"Adium"
set
c
to
(
get
visible
of
window
1
)
set
visible
of
window
1
to
not
c
if
(
get
visible
of
window
1
)
is
c
then
--visibility change failed; nothing to revert
error
end
set
visible
of
window
1
to
c
end
tell
end
run