Remove ignore button from self (#904)

This commit is contained in:
Calvin Montgomery 2021-03-22 22:49:11 -07:00
parent 56b4ec8f3a
commit 05107ce13f
2 changed files with 23 additions and 21 deletions

View File

@ -2,7 +2,7 @@
"author": "Calvin Montgomery",
"name": "CyTube",
"description": "Online media synchronizer and chat",
"version": "3.76.0",
"version": "3.76.1",
"repository": {
"url": "http://github.com/calzoneman/sync"
},

View File

@ -214,6 +214,7 @@ function addUserDropdown(entry) {
var btngroup = $("<div/>").addClass("btn-group-vertical").appendTo(menu);
/* ignore button */
if (name !== CLIENT.name) {
var ignore = $("<button/>").addClass("btn btn-xs btn-default")
.appendTo(btngroup)
.click(function () {
@ -235,6 +236,7 @@ function addUserDropdown(entry) {
entry.addClass("userlist-ignored");
ignore.text("Unignore User");
}
}
/* pm button */
if (name !== CLIENT.name) {