mirror of
https://github.com/smogon/pokemon-showdown-client.git
synced 2026-09-30 14:52:36 -05:00
Clientside support for reporting a specific user (#1361)
This commit is contained in:
@@ -2611,7 +2611,7 @@ function toId() {
|
||||
this.$el.html('<p><button name="toggleIgnoreUser">' + (app.ignore[this.userid] ? 'Unignore' : 'Ignore') + '</button></p><p><button name="report">Report</button></p>');
|
||||
},
|
||||
report: function () {
|
||||
app.joinRoom('view-help-request-report');
|
||||
app.joinRoom('view-help-request-report-user-' + this.userid);
|
||||
},
|
||||
toggleIgnoreUser: function () {
|
||||
var buf = "User '" + this.name + "'";
|
||||
|
||||
Reference in New Issue
Block a user