GNOME Bugzilla – Bug 761019
Use the correct OAuthProxy object to check for the access token
Last modified: 2016-01-23 16:11:12 UTC
Since the fix in https://bugzilla.gnome.org/show_bug.cgi?id=759464 we can not check the proxy used for sign-in, instead we should check the call proxy to determine if the initial fetch from the keyring should be performed.
Created attachment 319584 [details] [review] osmEdit: Use the call proxy when checking the OAuth access token We can't rely on the sign-in proxy being availble to check for the OAuth access token when trying to upload a changeset, since the changes in https://bugzilla.gnome.org/show_bug.cgi?id=759464 since that proxy object will only be available right after a sign-in operation now. Instead check the call proxy, which is also updated on successfull sign-in and in the keyring lookup callback.
Attachment 319584 [details] pushed as c1f058e - osmEdit: Use the call proxy when checking the OAuth access token