Project

General

Profile

destroy room did not clean all the info

shir Hu
Added almost 4 years ago

Hi,

When I create room, [config] and [affilications] also store in table tig_nodes and tig_pairs, after destroy room found that the node of [config] and [affilications] did not remove, if each room has [config] and [affilications] , Can you tell me why remian those info after destroyed room?


Replies (3)

(1)

Added by Wojciech Kapcia TigaseTeam almost 4 years ago

Those should be removed as well.

What Tigase version do you use?

Were there any exceptions in the logs regarding database access?

Added by shir Hu almost 4 years ago

Tigase server:7.0.1
Tigase-muc:2.3.0

I debug the source code ,found that tigase.muc.repository.MucDAO.destroyRoom(BareJID roomJID) remove roomJID only.

repository.removeSubnode(mucConfig.getServiceName(), ROOMS_KEY + roomJID);

Added by Wojciech Kapcia TigaseTeam almost 4 years ago

Thank you for reporting, we will fix it: #3205

    (1-3/3)