@yeehi It looks like the global chat plugin just adds a global chat room using the existing chat UI, so there is nothing new there.
How can I display the group name in the chat overview?
-
@ogerly chat dropdown is built here https://github.com/NodeBB/NodeBB/blob/master/public/src/modules/chat.js#L97
but room name is not available in the data retrieved by the socket call. you will have to modify the function here to get the room name https://github.com/NodeBB/NodeBB/blob/master/src/messaging.js#L234
getting the room name there will add an additional db call for every chat in the dropdown.
-
ok I understand it .. and now this solution.
who assigned a room name, then it will be displayed if not then as far
https://github.com/NodeBB/NodeBB/compare/master...ogerly:patch-1