Project

General

Profile

how to custom the message table instead of self?

w xy
Added 3 months ago

Now, i custom the chat and group chat table via adding archive Component, and all messages would be inserted my custom table.

But , the old table like 'tig_muc_room' or 'tig_muc_xxx' and so on were still exits.

How were not created the tables with start tigase server?


Replies (3)

Added by Wojciech Kapcia TigaseTeam 3 months ago

w xy wrote:

Now, i custom the chat and group chat table via adding archive Component, and all messages would be inserted my custom table.

But , the old table like 'tig_muc_room' or 'tig_muc_xxx' and so on were still exits.

How were not created the tables with start tigase server?

I'm sorry but I don't understand your question/problem. Could you please rephrase it more clearly?

Added by w xy 3 months ago

tables: tig_muc_rooms tig_muc_history, tig_muc_xx and chat message stored tables.

Normally, these tables are created and the messages would be inserted into these table.

Now, i would store the meesges into myself custom table u_msgs ,u_rooms and so on instead of the old stored tables.

Added by Wojciech Kapcia TigaseTeam 3 months ago

You most likely need to modify MUC sources.

    (1-3/3)