From 5aeec7faf4a3bba952dc192b43b8220f736c6902 Mon Sep 17 00:00:00 2001 From: Sean Enck Date: Mon, 9 Jul 2018 19:55:22 -0400 Subject: [PATCH] spacing --- client.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/client.go b/client.go index bd9aad8..1eb66b0 100644 --- a/client.go +++ b/client.go @@ -496,9 +496,9 @@ func (cli *Client) SendNotice(roomID, text string) (*RespSendEvent, error) { // Receipt updates the marker for the given receipt type to the event ID specified. // See https://matrix.org/docs/spec/client_server/r0.2.0.html#post-matrix-client-r0-rooms-roomid-receipt-receipttype-eventid func (cli *Client) Receipt(roomID, receiptType, eventID string, req *ReqReceipt) (resp *RespReceipt, err error) { - urlPath := cli.BuildURL("rooms", roomID, "receipt", receiptType, eventID) - _, err = cli.MakeRequest("POST", urlPath, req, nil) - return + urlPath := cli.BuildURL("rooms", roomID, "receipt", receiptType, eventID) + _, err = cli.MakeRequest("POST", urlPath, req, nil) + return }