msgbyte / tailchat

Next generation noIM application in your own workspace, not only another Slack/Discord/Rocket.chat
https://tailchat.msgbyte.com/
Apache License 2.0
2.93k stars 322 forks source link

用户ID重复 || Duplicate user ID #262

Open boxfun opened 1 month ago

boxfun commented 1 month ago

我注册了两个账号,其ID都为#0034,两个账号都能正常登录和使用。 在好友搜索界面一次只能搜到其中一个,且两个账号不能互加好友,会判定为“自己加自己” 我的注册方式:游客号——认领 如果可以的话,请来https://nightly.paw.msgbyte.com/invite/Gt48gztW 再现问题 屏幕截图 2024-10-01 134526


I registered two accounts, both with ID #0034, and both accounts can be logged in and used normally. Only one of them can be found at a time in the friend search interface, and the two accounts cannot add each other as friends, and it will be judged as "Add yourself" My registration method: Tourist ID—Claim If you can, please come to https://nightly.paw.msgbyte.com/invite/Gt48gztW Reproduce the problem Screenshot 2024-10-01 134526

boxfun commented 1 month ago

AI把用户ID的前两个0自动去掉了,需要加上


AI automatically removes the first two 0s from the user ID and needs to be added.

moonrailgun commented 1 month ago

我查询了nightly的数据库并没有发现id为 0034 的账号

理论上会进行重复性检查的。


I checked the nightly database and found no account with the ID 0034

In theory, repeatability checks will be carried out.

boxfun commented 1 month ago

我查询了nightly的数据库并没有发现id为 0034 的账号

理论上会进行重复性检查的。

I checked the nightly database and found no account with the ID 0034

In theory, repeatability checks will be carried out.

这两个账号都是我创建的,我改了一下名也许这样可以方便查找:一个为a#0034,一个为b#0034。0034不是Id,是标识。 屏幕截图 2024-10-07 173954 屏幕截图 2024-10-07 174018

moonrailgun commented 1 month ago

oh i get, looks not update discriminator field when change name.