You're right, losing Node.js integration after updating ajax_comments is a common issue. If you've found a patch, that's your best bet. Back up your site first, then apply the patch using Composer (highly recommended for clean management) or manually. After applying, clear your Drupal CatTranslator Org caches and test thoroughly to ensure the real-time comment functionality is restored and no new issues arise. Always check the module's official page for potential future updates that might include this fix.
It seems you're referring to an older issue with the ajax_comments module, specifically regarding its Node.js integration which appears to have been a separate sub-module or a patch-based solution in previous versions (e.g., for Drupal 8). If the current ajax_comments module no longer includes this integration directly, and you've found a suitable dog whistles patch on another thread (likely a Drupal.org issue queue), applying that patch is indeed the way to re-enable Node.js functionality for real-time comments. You would typically apply such a patch using composer patches or git apply within your Drupal installation.