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

Participant ID is a ByteArray; should be a string #1

Open
clehner opened this issue Dec 23, 2009 · 0 comments
Open

Participant ID is a ByteArray; should be a string #1

clehner opened this issue Dec 23, 2009 · 0 comments

Comments

@clehner
Copy link

clehner commented Dec 23, 2009

In the Gadget API, wave.Participant.prototype.getId() returns a ByteArray, but it should return of a string.
For now it can be fixed in JavaScript with this line:

id = Array.prototype.map.call(id, function (x) { return String.fromCharCode(x); }).join("");

but it would be better if it was fixed in the C++ code.

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

No branches or pull requests

1 participant