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

[BUG] After kicking out the owner through the API, the group cannot be dismissed #2361

Closed
yanqinsc opened this issue Jun 24, 2024 · 6 comments
Assignees
Labels
bug Categorizes issue or PR as related to a bug.

Comments

@yanqinsc
Copy link

yanqinsc commented Jun 24, 2024

OpenIM Server Version

3.7

Operating System and CPU Architecture

Linux (AMD)

Deployment Method

Source Code Deployment

Bug Description and Steps to Reproduce

The api group/kick_group can kick owner out of group,then the group cannot be dismissed nor set owner again

Screenshots Link

https://docs.openim.io/zh-Hans/restapi/apis/groupManagement/kickGroup

@yanqinsc yanqinsc added the bug Categorizes issue or PR as related to a bug. label Jun 24, 2024
@kubbot
Copy link
Contributor

kubbot commented Jun 24, 2024

Hello! Thank you for filing an issue.

If this is a bug report, please include relevant logs to help us debug the problem.

Join slack 🤖 to connect and communicate with our developers.

@yanqinsc yanqinsc changed the title [BUG] After kicking out the user from group through the API, the group cannot be disbanded [BUG] After kicking out the owner through the API, the group cannot be dismissed Jun 24, 2024
@printlin
Copy link
Contributor

有API可以解散群呀,https://docs.openim.io/zh-Hans/restapi/apis/groupManagement/dismissGroup。通过此API无法解散吗?
如果可以通过API解散,我认为你应该在自身的业务上处理此问题。

@kubbot
Copy link
Contributor

kubbot commented Jun 28, 2024

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


There is an API to disband a group, https://docs.openim.io/zh-Hans/restapi/apis/groupManagement/dismissGroup. Is it not possible to dismiss via this API?
If it can be dismissed via API, I think you should handle this in your own business.

@skiffer-git
Copy link
Member

The group owner cannot be removed from a group chat. You must first transfer ownership of the group before attempting to remove the current owner.

@skiffer-git
Copy link
Member

Could you confirm whether the API allows for the removal of a group owner from a group chat?
@icey-yu

@icey-yu
Copy link
Member

icey-yu commented Sep 4, 2024

In the latest version, we have resolved this issue.

@icey-yu icey-yu closed this as completed Sep 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Categorizes issue or PR as related to a bug.
Projects
None yet
Development

No branches or pull requests

5 participants