-
-
Notifications
You must be signed in to change notification settings - Fork 775
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Group List not showing after closing the group chat window #3547
Comments
This doesn't show any error.
This is probably related to the MUC's configuration. MUCs are often by default configured to be destroyed once the last person leaves. Go to the MUC's configuration form (via the dropdown in the MUC header) and check if it's set to be persistent (what the setting is called depends on the XMPP server you're using). I see you've added |
Thanks @jcbrand for your response.
I added two more members in group and then left the group. Still it is not showing in the list.
I have added group persistent configuration in prosody conf also. |
Make sure that you bookmark the room. |
Hi @jcbrand,
I don't want to bookmark the room. On bookmarking, it is opening a popup where i can see the bookmarked room list. I want easy access to the room list. |
Or else can i show bookmark below GROUPCHATS section, instead of opening new popup? |
I'm not sure what the issue is here. If the MUC is set to persistent, then it should stay in the GROUPCHATS section even when you log out and in again, unless you're doing something like checking the checkbox when you log in to say that it's not a trusted website or using incognito mode. |
This is my converse initialization code. |
Hi Team,
i have below configuration in my converse.js file.
const ChatRoomMixin = {
defaults() {
return {
'bookmarked': false,
'chat_state': undefined,
'has_activity': true,
// XEP-437
'hidden': isUniView() && !shared_api.settings.get('singleton'),
'hidden_occupants': !!shared_api.settings.get('hide_muc_participants'),
'message_type': 'groupchat',
'name': '',
// For group chats, we distinguish between generally unread
// messages and those ones that specifically mention the
// user.
//
// To keep things simple, we reuse
num_unreadfrom
// _converse.ChatBox to indicate unread messages which
// mention the user and
num_unread_generalto indicate
// generally unread messages (which *includes* mentions!).
'num_unread_general': 0,
'num_unread': 0,
'auto_configure': true,
'roomconfig': {
// 'persistentroom': true,
// 'allow_invites': false,
// 'membersonly': true,
// 'auto_join_on_request': true,
'muc#roomconfig_persistentroom': true,
'muc#roomconfig_allowinvites': false,
'muc#roomconfig_membersonly': true,
'muc#roomconfig_publicroom' : true,
'muc#roomconfig_auto_join_on_request' : true,
'muc#roomconfig_auto_bookmark' : true
},
'time_opened': this.get('time_opened') || new Date().getTime(),
'time_sent': new Date(0).toISOString(),
'type': shared_converse.CHATROOMS_TYPE
};
}
I am getting below error in console.
converse.js:20525 ERROR:
BEFORE ADDING ANY GROUP
AFTER ADDING GROUP
After closing the chat window group name also get remove from GROUPCHATS section.
I want groups list should be persist even after logging out and login again.
What changes needs to be added to achieve this?
The text was updated successfully, but these errors were encountered: