Group channel not created properly

I am trying to create a group channel through the following code:

// Code starts here

export async function openOneToOneChannel(user1, user2) {
  try {
    if (!sb) {
      await createSBClient(user1.id);
    }
    let params = new sb.GroupChannelParams();
    params.isPublic = false;
    params.isEphemeral = false;
    params.isDistinct = true;
    params.addUserIds([user1.id, user2.id]);
    params.customType = '1-1';
    let channel = await sb.GroupChannel.createChannel(params)
    return channel;
  } catch (error) {
    console.log('openOneToOneChannelError', error);
  }
}

// Code ends here
The code return channel object successfully but the channel contain only the initiator/sender as a member of the channel. It returns:

“joinedMemberCount”:1,
“memberCount”:1,
"members”:[1]

rather it should create a channel and add the receiver as a member as well. The correct channel should have:

“joinedMemberCount”:2,
“memberCount”:2,
"members”:[2]

Can you please let me know what can possibly go wrong here ?

@yousafiqbal1994,

Welcome to the Sendbird Community! Can you DM me your AppID and Channel URL for an channel where this occurred?

I attempted to recreate this behavior in my environment but was not able to using the following code:

const sb = SendBird.getInstance();
    let channelName = uuid.v4();
    console.log(sb.currentUser);
    let params = new sb.GroupChannelParams();
    params.isPublic = false;
    params.isEphemeral = false;
    params.isDistinct = false;
    params.isSuper = false;
    params.addUserIds([sb.currentUser.userId, invitedUser]);
    params.name = channelName;

    sb.GroupChannel.createChannel(params, (newChannel, error) => {
      dispatch(sbGetChannelList());
      dispatch(sbGetChannel(newChannel.url));
    });

Sure, I will do share that is DM

Details sent in DM @Tyler please check.