Bug 1586250 - 'Method not implemented' when calling method: [prplIAccount::unInit]. r=florian
authorPatrick Cloke <clokep@gmail.com>
Tue, 08 Oct 2019 07:54:54 -0400
changeset 37103 1da5ee1ef0eac10558e3705dfcda0acf746f1a6d
parent 37102 e4dff5cebc88183fb993e949a9dcacaea064ca77
child 37104 a094c4ec89ae01e6b71060ccbc7fae32e93145f6
push id395
push userclokep@gmail.com
push dateMon, 02 Dec 2019 19:38:57 +0000
reviewersflorian
bugs1586250
Bug 1586250 - 'Method not implemented' when calling method: [prplIAccount::unInit]. r=florian
chat/protocols/facebook/facebook.js
chat/protocols/yahoo/yahoo.js
--- a/chat/protocols/facebook/facebook.js
+++ b/chat/protocols/facebook/facebook.js
@@ -42,16 +42,19 @@ FacebookAccount.prototype = {
         "possible to connect to Facebook Chat. See bug 1141674."
     );
     this.reportDisconnecting(
       Ci.prplIAccount.ERROR_OTHER_ERROR,
       _("facebook.disabled")
     );
     this.reportDisconnected();
   },
+
+  // Nothing to do.
+  unInit() {},
 };
 
 function FacebookProtocol() {}
 FacebookProtocol.prototype = {
   __proto__: GenericProtocolPrototype,
   get normalizedName() {
     return "facebook";
   },
--- a/chat/protocols/yahoo/yahoo.js
+++ b/chat/protocols/yahoo/yahoo.js
@@ -43,16 +43,19 @@ YahooAccount.prototype = {
         "Messenger. See bug 1316000"
     );
     this.reportDisconnecting(
       Ci.prplIAccount.ERROR_OTHER_ERROR,
       _("yahoo.disabled")
     );
     this.reportDisconnected();
   },
+
+  // Nothing to do.
+  unInit() {},
 };
 
 function YahooProtocol() {}
 YahooProtocol.prototype = {
   __proto__: GenericProtocolPrototype,
   get id() {
     return "prpl-yahoo";
   },