old_contents: "use strict";
  
  require('../stanza/visibility');
  
  
  module.exports = function (client) {
      client.goInvisible = function (cb) {
          return this.sendIq({
              type: 'set',
              invisible: true
          });
      };
  
      client.goVisible = function (cb) {
          return this.sendIq({
              type: 'set',
              visible: true
          });
      };
  };
  
new_contents: "use strict";
  
  require('../stanza/visibility');
  
  
  module.exports = function (client) {
      client.goInvisible = function (cb) {
          return this.sendIq({
              type: 'set',
              invisible: true
          }, cb);
      };
  
      client.goVisible = function (cb) {
          return this.sendIq({
              type: 'set',
              visible: true
          }, cb);
      };
  };
  
subject: Call callbacks for invisible commands