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

TextEncode t is undefined #15

Open
bogocodes opened this issue Feb 13, 2022 · 0 comments
Open

TextEncode t is undefined #15

bogocodes opened this issue Feb 13, 2022 · 0 comments
Assignees
Labels
Bug Something isn't working Needs Triage Not enough information to determine priority

Comments

@bogocodes
Copy link

bogocodes commented Feb 13, 2022

When I try to send a message it says t is undefined code looks like this:
if (this.upload.segment === 'file') { content = addPrefix(await fileToArrayBuffer(this.upload.file), this.upload.file.name) contentType = this.upload.file.type } else { const t = new TextEncoder() content = addPrefix(t.encode(this.upload.message), '') contentType = 'text/plain' }

@ProofOfKeags ProofOfKeags added Bug Something isn't working Needs Triage Not enough information to determine priority labels Feb 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working Needs Triage Not enough information to determine priority
Projects
None yet
Development

No branches or pull requests

4 participants