Project

General

Profile

Persistent Chat rooms /Permenant Chat rooms

Jonathan Hunter
Added about 4 years ago

hi Guys,

Sorry to bother you, but have a client asking if we can do persistent chat rooms (like Lync), where they are created and remain open, and users can log and look at old/current postings to it.

Is this possible with tigase MUC ?

Many thanks

Jon


Replies (13)

Added by Jonathan Hunter about 4 years ago

Hi Guys,

I see permanent chat rooms are possible, whats the configuration steps?

Thanks

Jon

(1)

Added by Wojciech Kapcia TigaseTeam about 4 years ago

Yes, Tigase MUC component support persistent chat rooms. You either need to configure each room after creation to be persistent or configure MUC component defaults which will configure all rooms as persistent:

muc/default_room_config/muc#roomconfig_persistentroom=true

Added by Jonathan Hunter about 4 years ago

Hi Wojciech,

Thank you for the response, let me look into this.

Do you guys do consultancy work? If so who should I contact for day rates etc?

Many thanks

Jon

(1)

Added by Jonathan Hunter about 4 years ago

Also,

What is the advised method if you just want particular chat rooms to be persistent and not all?

Can this be controlled from client side?

Thanks

Jon

(1)

Added by Wojciech Kapcia TigaseTeam about 4 years ago

Jonathan Hunter wrote:

What is the advised method if you just want particular chat rooms to be persistent and not all?

Depending on which ones would be predominant it would be either setting default as persistent and then configuring particular rooms as not-persistent or the other way around - use default configuration (rooms won't be persistent ) and then configure particular rooms to be persistent using .

Jonathan Hunter wrote:

Do you guys do consultancy work? If so who should I contact for day rates etc?

All information are available in contact section: http://tigase.net/contact

(1)

Added by Jonathan Hunter about 4 years ago

If I havent specified a default setting as such, then what is default behavior if I have only defined muc in my init.properties file as below;

--comp-name-1 = muc
--comp-class-1 = tigase.muc.MUCComponent

Is this where I would add the persistent/non-persistent parameters?

Thanks

Jon

(1)

Added by Wojciech Kapcia TigaseTeam about 4 years ago

By default rooms are non-persistent. In init.properties you can configure default values for all rooms. Configuration of the particular room is done over XMPP.

Added by Jonathan Hunter about 4 years ago

Hi,

I have added the following in init.properties;

--comp-name-1 = muc

--comp-class-1 = tigase.muc.MUCComponent


Does this look ok?

And also is there a command I can run to see active conferences in realtime?

Thanks

Jon

Added by Jonathan Hunter about 4 years ago

Hi guys,

By the way, offline messaging doesn't appear to be working for my chat rooms.

I have in my config;

--sm-plugins=amp,-message,-msgoffline

However I dont have database defined for amp;

--amp-repo-uri=jdbc:mysql://localhost/tigasedb?user=db_usr&password=db_pwd

Or the domain;

sess-man/plugins-conf/amp/amp-jid=amp@your-domain.tld

I presume I need to add these? Also which tables does it populate with the offline messages? Is it muc_history?

Thanks

Jon

Avatar?id=6023&size=32x32

Added by Artur Hefczyc TigaseTeam about 4 years ago

Jonathan Hunter wrote:

Hi guys,

By the way, offline messaging doesn't appear to be working for my chat rooms.

I have in my config;

--sm-plugins=amp,-message,-msgoffline

However I dont have database defined for amp;

--amp-repo-uri=jdbc:mysql://localhost/tigasedb?user=db_usr&password=db_pwd

You do not need it. If this property is missing AMP automatically uses the main database.

sess-man/plugins-conf/amp/amp-jid=amp@your-domain.tld

You do not this either. If this property is missing AMP automatically uses the default.

I presume I need to add these? Also which tables does it populate with the offline messages? Is it muc_history?

The thing is that muc messages are never saved as offline messages. The main reason for this is that if you are offline, then you are not in a MUC room, so MUC does not send messages to you. By definition.

(1)

Added by Wojciech Kapcia TigaseTeam about 4 years ago

Jonathan Hunter wrote:

Hi,

I have added the following in init.properties;

--comp-name-1 = muc

--comp-class-1 = tigase.muc.MUCComponent

muc/default_room_config/muc#roomconfig_persistentroom=true

Does this look ok?

Yes,

it looks ok.

And also is there a command I can run to see active conferences in realtime?

You can perform service discovery for items available for muc component which will return list of all rooms - please see XEP-0045: Multi-User Chat: 6.3 Discovering Rooms

Added by Alina Sun over 3 years ago

I configured a Persistent Chat room. The chat room is still there but the chat room members are not there. I mean I need to add/invite all the chat room members again.

Can I create a persistent chat room with persistent members? I mean, the chat room members are in the chat room forever no matter he/she leave the chat room or logout.

(1)

Added by Wojciech Kapcia TigaseTeam over 3 years ago

As per specification Roles are not persistent, affiliations are and they should be stored in the repository for persistent rooms.

    (1-13/13)