igniterealtime / openfire-fastpath-plugin

Adds support for managed queued chat requests, such as a support team might use
5 stars 12 forks source link

Converse UI should not show owner participant in chatroom #50

Open guusdk opened 3 years ago

guusdk commented 3 years ago

When a agent and end-user join a chatroom, that chatroom is created by an XMPP end-user that represents the workgroup queue (eg: "demo" in a default setup). This entity is shown as a participant in the chat room (twice, actually), which is confusing to end-users. This participant should not be displayed.

Screenshot from 2021-01-15 11-01-36

stuffeh commented 3 years ago

You can hide the user chat panel by commenting out line 53701, "this.createOccupantsView();" to disable side panel showing chat room participants in /plugin/fastpath/classes/widget/converse.js. This also gives more space for the actual chat. Issue with this is that you see the blue background when you enable the full screen mode, which is a CSS issue.

Can also comment out line 53865 "this.showChatEvent(__("%1$s is no longer an owner of this groupchat", occupant.get('nick')));" to keep the client from displaying that message to prevent the user from seeing the bot in the MUC.