Skip to content

放宽 WebSocket 连接方式中的 echo 参数的变量类型#68

Merged
linyuchen merged 1 commit into
LLOneBot:mainfrom
MisaLiu:fix_echo
Feb 23, 2024
Merged

放宽 WebSocket 连接方式中的 echo 参数的变量类型#68
linyuchen merged 1 commit into
LLOneBot:mainfrom
MisaLiu:fix_echo

Conversation

@MisaLiu
Copy link
Copy Markdown
Contributor

@MisaLiu MisaLiu commented Feb 23, 2024

某些框架(例如 Overflow)传入的 echo 值并不是 string 类型的,并且由于 JavaScript 特有的类型转换,使得如果客户端传来 echo 的值为 0 的话会直接被替换成默认的空字符,本 PR 尝试修复了这一点。

@linyuchen
Copy link
Copy Markdown
Collaborator

感谢PR

@linyuchen linyuchen merged commit 4ba333b into LLOneBot:main Feb 23, 2024
@MisaLiu MisaLiu deleted the fix_echo branch February 23, 2024 13:46
linyuchen added a commit that referenced this pull request Nov 29, 2024
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.

2 participants