Fully implement links management and mentions handling settings for both embed page and server side

This commit is contained in:
Jeremy Zhang
2017-05-08 18:39:22 -07:00
parent 74e62c7f4c
commit c11c253894
2 changed files with 30 additions and 7 deletions

View File

@ -521,6 +521,9 @@
});
funct.fail(function(data) {
Materialize.toast('Failed to send message.', 10000);
for (var i = 0; i < data.responseJSON.illegal_reasons.length; i++) {
Materialize.toast(data.responseJSON.illegal_reasons[i], 10000);
}
});
funct.catch(function(data) {
if (data.status == 429) {