Group Chat Changes
-
Yes, I know... it was this message that led me to this particular thread.
TypeError: Cannot read property 'messageId' of undefined
Unfortunately the the call-stack doesn't contain more info.. Well let's hope it stabilises itself.
-
Cool! I have a question about the chat, and I hope that you'll take/consider this seriously. I spend a lot of time on the web, and a lot of time looking at (specifically) Open Source web applications. When I was looking for fourm code it was quite the epic, trying damn near everything out there. I've chosen this forum code, and so I hope to support you with ideas as well as PRs. For a million and one reasons, I strongly prefer NodeBB to Discourse. It's a choice I'd gladly make over and over, and it largely has to do with the receptivity of the community that creates NodeBB to new ideas. Discourse is too busy trying to bury their Multi-Site functionality to be receptive to new ideas.
I think that the chat in NodeBB should integrate with either IRC or Matrix Chat. I know that Raocket.Chat, a meteor-based chat application has support for Matrix Chat (ether upcoming, or.... something. Here is a link to the relevant repo: https://github.com/RocketChat/Rocket.Chat.Federation
Standards are a very, very good thing. IRC is one, Matrix is another. Web app content-based walled gardens are just as annoying as any other walled garden, and we should strive to avoid them. Well, that's what I've got for now. Thanks for the awesome code, keep it up!
-
Definitely, there's no reason you cannot use your own chat app in place of NodeBB's
The main blocker here is that we don't fire the necessary client-side hooks when a user opens a chat (namely,
app.openChat()
). If we added a client-side hook there, then you could intercept it and open a new chat using whatever service you desireThere's just been no interest in that so far
-
@hek said:
Yes, I know... it was this message that led me to this particular thread.
TypeError: Cannot read property 'messageId' of undefined
Unfortunately the the call-stack doesn't contain more info.. Well let's hope it stabilises itself.
Your posts led me to the same topic as well, I noticed the restarts in my log this morning - v0.9.3.
-
@Ted was happening for me too, looks like it might have been fixed here
https://github.com/NodeBB/NodeBB/commit/a3dc427e671ce8af059a8ceb85fe99192f41544e -
@yariplus Thanks for confirming that. I'll look at making the change manually later and test on my end. Though more than anything I'm just waiting on 1.0. Started from v0.5, and there've been some major overhauls along the way. Group chats have been a widely requested feature along the way, so I'll be happy to see it come to fruition.
-
I'm new to javascript-- in fact to almost all programming. That said I've been doing some cool stuff with Hugo & JS. A client-side hook is something that happens in the client (web browser's javascript) -- correct?
How does one look at client-side code for nodebb?
Thanks a lot
-Jake
-
This post is deleted!
-
As for Room Names, are they private by default? Can be set to public so users can join from a public room list?
-
@CarlosRodriguez No, all chats are private.
-
But one can join knowing the room name or must be added by the room owner?
-
@CarlosRodriguez they have to be added to the chat room to join
-
@faddat said in Group Chat Changes:
I think that the chat in NodeBB should integrate with either IRC or Matrix Chat. I know that Raocket.Chat, a meteor-based chat application has support for Matrix Chat (ether upcoming, or.... something. Here is a link to the relevant repo: https://github.com/RocketChat/Rocket.Chat.Federation
Integration with rocket.chat is an ideal option for a forum chat. They have the same stack of technologies, MIT License and rocket.chat features are much larger than the native chat. Why waste resources to improve the native chat, if there is a free rocket.chat? For example, how it is done in https://www.phpfox.com/chatplus/
https://www.phpfox.com/blog/2021/why-chatplus-is-important-for-your-phpfox-online-community/
https://docs.phpfox.com/display/FOX4MAN/ChatPlus+solution
No one will guess that rocket.chat is used here. -