nioc / xmpp-web

Lightweight web chat client for XMPP server
GNU Affero General Public License v3.0
142 stars 20 forks source link

Feature: close/clear room #124

Open AntDX316 opened 5 months ago

AntDX316 commented 5 months ago

Describe the bug

There is no way to close/clear the room?

Closing the room and wiping out all the chats as the room owner has to happen please.

Steps to reproduce

No response

Expected behavior

There is no way to close/clear the room?

Closing the room and wiping out all the chats as the room owner has to happen please.

I'm using the latest Openfire.

Relevant log

No response

local.js configuration

No response

XMPP-web version

0.10.2

Installation

Build from source

XMPP server(s)

Openfire

Browser(s)

No response

Device(s)

No response

Other information

No response

nioc commented 5 months ago

Hello.

I use Prosody and in it you can configure automatic deletion of a salon when it's empty (non persistent).

Web XMPP doesn't let you do this manually, but it's a possible feature (low priority).

AntDX316 commented 5 months ago

Hello.

I use Prosody and in it you can configure automatic deletion of a salon when it's empty (non persistent).

Web XMPP doesn't let you do this manually, but it's a possible feature (low priority).

Is Prosody the best to use for the XMPP?

Can users also register and change password themselves?

I use Openfire. Is Prosody completely different?

nioc commented 5 months ago

Prosody is okay for my usage (home server for few people). You can see their docs. May be someone (@guusdk) can explain how to configure room deletion with openfire

guusdk commented 5 months ago

When a MUC room is created to be 'non-persistent' (as shown in the screenshot below) then Openfire will delete the room when the last occupant leaves the room.

Some plugins (notably, the plugin that offers message archive management support) do not delete room-related content. This could cause a new room (by the same name) to show the historic data from the old room.

We're working on improvements on this:

xmppweb-muc-nonpersistent