diff --git a/xmpp_get_info.go b/xmpp_get_info.go deleted file mode 100644 index 93f581c..0000000 --- a/xmpp_get_info.go +++ /dev/null @@ -1,30 +0,0 @@ -package xmpp - -import ( - "fmt" - "time" -) - -func (c *Client) RawVersion(from, to, id, version, osName string) error { - body := "go-xmpp" + version + "" + - osName + "" - _, err := c.RawInformationQuery(from, to, id, "result", "jabber:iq:version", - body) - return err -} - -func (c *Client) RawLast(from, to, id string, last int) error { - body := fmt.Sprintf("Working", last) - _, err := c.RawInformation(from, to, id, "result", body) - return err -} - -func (c *Client) RawIQtime(from, to, id string) error { - tt := time.Now() - zone, _ := tt.Zone() - body := fmt.Sprintf("", zone, tt.UTC().Format("2006-01-02T15:03:04Z")) - _, err := c.RawInformation(from, to, id, "result", body) - return err -}