Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

base62 encode user provided name/identity. #1220

Merged
merged 6 commits into from
Dec 10, 2022
Merged

base62 encode user provided name/identity. #1220

merged 6 commits into from
Dec 10, 2022

Conversation

boks1971
Copy link
Contributor

@boks1971 boks1971 commented Dec 9, 2022

To ensure there are no clashes with internal delimiter while generating keys.

To ensure there are no clashes with internal delimiter while generating
keys.
@boks1971
Copy link
Contributor Author

@davidzhao @cnderrauber This is ready for review. I think I covered the compatibility cases. Need the eagle 👀 .

if r.rtcMessageChan.IsClosed() {
// create a new one
r.rtcMessageChan = NewMessageChannel(localRTCChannelSize)
}
msg.ParticipantKey = string(participantKey(roomName, identity))
r.lock.Unlock()
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There is a lock on this in other places. So, including it here also.

Copy link
Member

@davidzhao davidzhao left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

awesome!

@boks1971 boks1971 merged commit b2df257 into master Dec 10, 2022
@boks1971 boks1971 deleted the raja_keys branch December 10, 2022 07:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants