mirror of
https://github.com/zulip/zulip.git
synced 2025-11-09 00:18:12 +00:00
Remove dead code related to showing bots.
(The dead code made sense in the very early phases of sketching out the feature, but it's no longer executed.) (imported from commit 464145f227ddb25f0554bbbade0b0e3e0e399bc3)
This commit is contained in:
@@ -5,11 +5,7 @@ var exports = {};
|
||||
function add_bot_row(name, email, avatar_url, api_key) {
|
||||
var avatar_cell;
|
||||
|
||||
if (avatar_url) {
|
||||
avatar_cell = $('<img>').attr('src', avatar_url).attr('class', 'avatar');
|
||||
} else {
|
||||
avatar_cell = '(default)';
|
||||
}
|
||||
avatar_cell = $('<img>').attr('src', avatar_url).attr('class', 'avatar');
|
||||
|
||||
var row = $('<tr></tr>').append($('<td>').text(name),
|
||||
$('<td>').text(email),
|
||||
|
||||
Reference in New Issue
Block a user