[geary/wip/fix-not-prompting-for-missing-password: 2/4] Make GoaMediator::prompt_token a no-op



commit 81bc2e5f3b06d0c65e374340f28f2a382595f6a3
Author: Michael Gratton <mike vee net>
Date:   Thu Feb 21 15:43:07 2019 +1100

    Make GoaMediator::prompt_token a no-op
    
    It's not used anyway.

 src/client/application/goa-mediator.vala | 9 ++-------
 1 file changed, 2 insertions(+), 7 deletions(-)
---
diff --git a/src/client/application/goa-mediator.vala b/src/client/application/goa-mediator.vala
index 5495db5e..09a87c44 100644
--- a/src/client/application/goa-mediator.vala
+++ b/src/client/application/goa-mediator.vala
@@ -107,15 +107,10 @@ public class GoaMediator : Geary.CredentialsMediator, Object {
                                            Geary.ServiceInformation service,
                                            GLib.Cancellable? cancellable)
         throws GLib.Error {
-        // Prompt GOA to update the creds. This might involve some
-        // user interaction.
-        yield update(account, cancellable);
-
-        // XXX now open a dialog that says "Click here to change your
-        // GOA password" or "GOA credentials need renewing" or
+        // XXX Open a dialog that says "Click here to change your GOA
+        // password" or "GOA credentials need renewing" or
         // something. Connect to the GOA service and wait until we
         // hear that needs attention is no longer true.
-
         return this.is_available;
     }
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]