mirror of https://github.com/zulip/zulip.git
Don't show success notifications on subscribe.
A visual change in the form will already have made it clear that the action succeeded. (imported from commit 114bc3a9c9ee759993b8e2c80f7d9a479d365e21)
This commit is contained in:
parent
bd6be38010
commit
87b1c91406
|
@ -342,7 +342,6 @@ function ajaxSubscribe(stream) {
|
|||
} else {
|
||||
// Display the canonical stream capitalization.
|
||||
true_stream_name = res.subscribed[email][0];
|
||||
ui.report_success("Subscribed to " + true_stream_name, $("#subscriptions-status"));
|
||||
}
|
||||
mark_subscribed(true_stream_name);
|
||||
},
|
||||
|
@ -364,8 +363,6 @@ function ajaxUnsubscribe(stream) {
|
|||
$("#subscriptions-status").hide();
|
||||
if (res.removed.length === 0) {
|
||||
name = res.not_subscribed[0];
|
||||
ui.report_success("Already not subscribed to " + name,
|
||||
$("#subscriptions-status"));
|
||||
} else {
|
||||
name = res.removed[0];
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue