code: function handleChannelConvertedEvent(msg) {
      return (dispatch, getState) => {
          const channelId = msg.data.channel_id;
          if (channelId) {
              const channel = getChannel(getState(), channelId);
              if (channel) {
                  dispatch({
                      type: ChannelTypes.RECEIVED_CHANNEL,
                      data: {...channel, type: General.PRIVATE_CHANNEL},
                  });
              }
          }
      };
  }
docs: handleChannelConvertedEvent handles updating of channel which is converted from public to private