messageDeleted passes channel

This commit is contained in:
abalabahaha
2015-11-22 17:49:23 -08:00
parent c9497a0f75
commit 014d78638e
2 changed files with 14 additions and 14 deletions

View File

@@ -1294,7 +1294,7 @@ var InternalClient = (function () {
if (channel) {
// potentially blank
var msg = channel.messages.get("id", data.id);
client.emit("messageDeleted", msg);
client.emit("messageDeleted", msg, channel);
if (msg) {
channel.messages.remove(msg);
}