open-im-server icon indicating copy to clipboard operation
open-im-server copied to clipboard

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

Open yanqinsc opened this issue 1 year ago • 5 comments
trafficstars

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 avatar Jun 24 '24 11:06 yanqinsc

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.

kubbot avatar Jun 24 '24 11:06 kubbot

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

printlin avatar Jun 28 '24 05:06 printlin

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.

kubbot avatar Jun 28 '24 05:06 kubbot

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 avatar Aug 07 '24 04:08 skiffer-git

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

skiffer-git avatar Aug 07 '24 04:08 skiffer-git

In the latest version, we have resolved this issue.

icey-yu avatar Sep 04 '24 12:09 icey-yu