mirror of
https://github.com/zulip/zulip.git
synced 2025-11-06 06:53:25 +00:00
user groups: Add live update support for user_group add event.
We add live update support for user group events as part of https://github.com/zulip/zulip/issues/19526. This however has a few TODOs: 1. Deciding on how we want to sort the group list on left of #groups overlay. 2. How we highlight the newly created groups after it is added to the list. These will be covered as we add support for more groups events.
This commit is contained in:
committed by
Tim Abbott
parent
fdd9f018ad
commit
6147f2bd7a
@@ -272,8 +272,8 @@ function create_stream() {
|
||||
error(xhr) {
|
||||
const msg = JSON.parse(xhr.responseText).msg;
|
||||
if (msg.includes("access")) {
|
||||
// If we can't access the stream, we can safely assume it's
|
||||
// a duplicate stream that we are not invited to.
|
||||
// If we can't access the stream, we can safely
|
||||
// assume it's a duplicate stream that we are not invited to.
|
||||
//
|
||||
// BUG: This check should be using error codes, not
|
||||
// parsing the error string, so it works correctly
|
||||
|
||||
Reference in New Issue
Block a user