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
m
to
(
get
minimizable
of
window
1
)
try
set
minimizable
of
window
1
to
false
--should never get here
set
minimizable
of
window
1
to
m
--restore
error
on
error
number
num
if
num
is
-
2700
then
error
end
try
end
tell
end
run