Skip to content

[Bug]WebChat模块:修改用户名后不会将历史聊天数据迁移到新用户名下 #7242

@Colourfulzi

Description

@Colourfulzi

What happened / 发生了什么

WebChat模块:修改用户名后不会将历史聊天数据迁移到新用户名下

Reproduce / 如何复现?

1.登录情况下,在webui界面切换到chat模式,进行多个话题对话。
2.点击右上三个点,点击“修改账户”,在弹窗中修改新的用户名。
3.使用新的用户名和密码登录后,chat模式下历史话题记录为空。
预期结果应该是保留原来的历史话题信息。

AstrBot version, deployment method (e.g., Windows Docker Desktop deployment), provider used, and messaging platform used. / AstrBot 版本、部署方式(如 Windows Docker Desktop 部署)、使用的提供商、使用的消息平台适配器

版本:v4.22.2 Windows Amd64 ,AstrBot Launcher实例

OS

Windows

Logs / 报错日志

没有提供日志的需要。

Are you willing to submit a PR? / 你愿意提交 PR 吗?

  • Yes!

Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:webuiThe bug / feature is about webui(dashboard) of astrbot.bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions