From 2c7b03fcead1a209d723b20185a22a7dd746dfc3 Mon Sep 17 00:00:00 2001 From: Mickael Remond Date: Tue, 18 Jun 2019 12:26:17 +0200 Subject: [PATCH] Clean-up --- component.go | 9 --------- 1 file changed, 9 deletions(-) diff --git a/component.go b/component.go index dece671..52f352e 100644 --- a/component.go +++ b/component.go @@ -120,15 +120,6 @@ func (c *Component) SetHandler(handler EventHandler) { c.Handler = handler } -// Recv abstracts receiving preparsed XMPP packets from a channel. -// Channel allow client to receive / dispatch packets in for range loop. -// TODO: Deprecate this function in favor of reading directly from the RecvChannel ? -/* -func (c *Component) Recv() <-chan Packet { - return c.RecvChannel -} -*/ - // Receiver Go routine receiver func (c *Component) recv() (err error) { for {