I think I got ChannelUpdate working??

This commit is contained in:
hydrabolt
2016-04-30 18:22:09 +01:00
parent 2341c83638
commit 90cf787759
9 changed files with 130 additions and 12 deletions

View File

@@ -20,12 +20,7 @@ class ChannelUpdateHandler extends AbstractHandler {
let data = packet.d;
let client = this.packetManager.client;
let channel = client.store.get('channels', data.id);
if (channel) {
client.store.UpdateChannel(channel, data);
}
client.actions.ChannelUpdate.handle(data);
}
};