Babble - A Chat Plugin

Thanks, I did now: Hitting rate limit on typing long messages - Bug Reports - Pavilion


I have Babble installed but no longer use it, so it’s disabled. I wouldn’t care whether it was installed or not, except that my site is now broken in either case.

If I uninstall it, it breaks the groups page at /g:

If I leave it installed but disabled, it breaks our custom digests. Admittedly this is being called by our discourse-506investor-digest-plugin, but it seems the NilClass is in babble/app/models/topic.rb.

From /logs:

Job exception: undefined method id’ for nil:NilClass`

/var/www/discourse/app/models/topic.rb:470:in `for_digest'
/var/www/discourse/plugins/babble/app/models/topic.rb:4:in `for_digest'
/var/www/discourse/app/models/post.rb:99:in `block in <class:Post>'
activerecord- `instance_exec'
activerecord- `block in _exec_scope'
activerecord- `_scoping'
activerecord- `_exec_scope'
activerecord- `block in scope'
activerecord- `block in for_mailing_list'
activerecord- `block in scoping'
activerecord- `_scoping'
activerecord- `scoping'
activerecord- `for_mailing_list'
/var/www/discourse/plugins/discourse-506investor-digest-plugin/plugin.rb:89:in `get_favorite_posts'
/var/www/discourse/plugins/discourse-506investor-digest-plugin/plugin.rb:24:in `block in execute'
/var/www/discourse/lib/distributed_mutex.rb:33:in `block in synchronize'
/var/www/discourse/lib/distributed_mutex.rb:29:in `synchronize'
/var/www/discourse/lib/distributed_mutex.rb:29:in `synchronize'
/var/www/discourse/lib/distributed_mutex.rb:14:in `synchronize'
/var/www/discourse/plugins/discourse-506investor-digest-plugin/plugin.rb:12:in `execute'
/var/www/discourse/app/jobs/base.rb:232:in `block (2 levels) in perform'
rails_multisite-2.5.0/lib/rails_multisite/connection_management.rb:76:in `with_connection'
/var/www/discourse/app/jobs/base.rb:221:in `block in perform'
/var/www/discourse/app/jobs/base.rb:217:in `each'
/var/www/discourse/app/jobs/base.rb:217:in `perform'
/var/www/discourse/app/jobs/base.rb:279:in `perform'
mini_scheduler-0.13.0/lib/mini_scheduler/manager.rb:93:in `process_queue'
mini_scheduler-0.13.0/lib/mini_scheduler/manager.rb:37:in `block (2 levels) in initialize'

Hello authur, can you convert any content chat become a topic in category (
Here is describe,

I’m experiencing the same issue here. Is the GitHub repository the right place to report this issue?

Anton has already reported the issue on Pavilion. And according to @angus, that’s the proper place to report bugs and eventually get them squished. More details about how to report bugs is here.


Hey guys, given the most recent breaking changes, and a few other related technical challenges posed for Babble in the current version of the Discourse codebase, unfortunately I’ve decided it’s not feasible to continue support babble at this stage. So this is being moved to #plugin:broken-plugin.

Believe me, I wish it were otherwise, and was hoping as such until the last few months of core Discourse changes which will require significant changes to Babble to get it working again. I’ve been actively looking for a more dedicated maintainer of the plugin, however there are two issues there. Chat is a difficult use case, and Babble is a complicated plugin. It requires an in-depth knowledge of Discourse itself, as well as Rails and Ember, and dedicated blocks of time to keep up with the changes in Discourse.

I would recommend you consider using a seperate dedicated chat instance alongside Discourse for your community. If you have any questions about setting that up or what to use, I’d be happy to give you some advice on that (for free). At Pavilion we use Mattermost alongside Discourse, which works well for us.


Thanks for all of the work you’ve put into it! Perhaps someone will eventually find a way to pin an external public chat channel from one of these services (mattermost, rocketchat, matrix) into their Discourse for a sort of “live chat”.


We are actively working on an official chat solution. The timeline is still fluid but I imagine we should have something to show in the next couple of months.


Hi, can you add a feature to pin the chat window under the banner? Also, can you add a setting where the chat is open automatically by default?


Kind of like this. Thank you!

1 Like

@Johnny_McIvor see Babble - A Chat Plugin - #416 by angus


can’t wait to see the end result of this. would be especially handy in my case if it was integrated into core discourse, as I’ve been able to upgrade but not rebuild (due to some issue(s) that are seemingly way above my paygrade) and users on my site have been dying for a proper chatroom as of late.


Hey guys

thx for your effort maintaining the plugin. I think it’s a wise decision since there are chat platforms out there which not only make a better job but also integrate well with discourse.

I can only give a huge shoutout to @RGJ and @michaeld which built us an awesome Rocket Chat SSO plugin. Our users love it.


I believe that having an integrated chat is an essential feature to build community activity, so I read through this entire thread only to realize at the end that the current state is “broken” but that there remains hope for a replacement. I wanted to post this to be sure I get updates as this thread is updated, and to tell anyone who might be working on this project how much their work will be appreciated!


Looking forward to it. Users frequently ask for chat, and it would be perfect to have a small, collapsible chat widget(s) at the bottom for private messages that stays open while browsing different pages (like on LinkedIn and Gmail), so that users stop asking for “chat”. But we wouldn’t want a group chat that anyone can view and join, because moderation would be too difficult. I don’t know if it’s possible to implement it like that with the option to not have any public chats, but that would be perfect. :slight_smile:


You select the thread “icon” to set your notification level in Discourse.


Very much looking forward to this!

1 Like

My understanding is native chat is being worked on by the Discourse team. I am not sure that they will post to this thread when that feature is added, but it’ll certainly show up in the release notes. :smiley:


How are you so sure that native chat is being implemented? do you have a demo i can see? Is it going to be like Facebook messenger style quick chat?
Even forum sites like Quora have also added chat as their core functionality of the forum.

And it would be great if someone fixes this plugin so it works on latest discourse or discourse team should create a native realtime chat into the forum!

1 Like

Can’t wait for it to happen. We need a solid robust chat integration (in discourse core) to let our users chat with each other and also allowing anonymous users (logged out users) who visit the forum to also let them chat with each other anonymously. It will be super helpful feature in Discourse! We are waiting patiently!