discourse/plugins/chat/test/javascripts
Joffrey JAFFEUX 49a0129b0d
FIX: prevents chat to enter in endless loop when getting 404 (#18867)
Doing DOM operations in finally would cause them to happen even when the request was a failure. Consequence of these DOM operations would be new request, which would also end up in a 404, and so on.

This commit simply moves the DOM operations in the then block where it should be safe to make.
2022-11-03 19:52:44 +01:00
..
acceptance FIX: prevents chat to enter in endless loop when getting 404 (#18867) 2022-11-03 19:52:44 +01:00
components DEV: Rename direct message related models 2022-11-03 14:39:23 +01:00
helpers
integration/components/user-menu
modifiers
unit
widgets
chat-fixtures.js DEV: Rename direct message related models 2022-11-03 14:39:23 +01:00