{"action":"closed","issue":{"url":"https://api.github.com/repos/davidstump/SwiftPhoenixClient/issues/23","labels_url":"https://api.github.com/repos/davidstump/SwiftPhoenixClient/issues/23/labels{/name}","comments_url":"https://api.github.com/repos/davidstump/SwiftPhoenixClient/issues/23/comments","events_url":"https://api.github.com/repos/davidstump/SwiftPhoenixClient/issues/23/events","html_url":"https://github.com/davidstump/SwiftPhoenixClient/issues/23","id":123195406,"number":23,"title":"#join message argument does nothing...?","user":{"login":"tehprofessor","id":995086,"avatar_url":"https://avatars.githubusercontent.com/u/995086?v=3","gravatar_id":"","url":"https://api.github.com/users/tehprofessor","html_url":"https://github.com/tehprofessor","followers_url":"https://api.github.com/users/tehprofessor/followers","following_url":"https://api.github.com/users/tehprofessor/following{/other_user}","gists_url":"https://api.github.com/users/tehprofessor/gists{/gist_id}","starred_url":"https://api.github.com/users/tehprofessor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tehprofessor/subscriptions","organizations_url":"https://api.github.com/users/tehprofessor/orgs","repos_url":"https://api.github.com/users/tehprofessor/repos","events_url":"https://api.github.com/users/tehprofessor/events{/privacy}","received_events_url":"https://api.github.com/users/tehprofessor/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-12-21T01:38:32Z","updated_at":"2016-01-19T21:39:57Z","closed_at":"2016-01-19T21:39:57Z","body":"Howdy,\r\n\r\nThis could very well be a case of me missing the point, or just being an idiot, but from what I can tell and how I'd like to use this, setting a join message does nothing. Join calls rejoin, and correctly connects to the channel, but rejoin uses it's own hard coded message and payload.\r\n\r\nE.g.\r\n\r\nhttps://github.com/davidstump/SwiftPhoenixClient/blob/master/Pod/Classes/Phoenix.swift#L201-L216\r\n\r\n```swift\r\n    func rejoin(chan: Phoenix.Channel) {\r\n      chan.reset()\r\n      let joinMessage = Phoenix.Message(subject: \"status\", body: \"joining\")\r\n      let payload = Phoenix.Payload(topic: chan.topic!, event: \"phx_join\", message: joinMessage)\r\n      send(payload)\r\n      chan.callback(chan)\r\n    }\r\n    \r\n    public func join(topic  topic: String, message: Phoenix.Message, callback: (AnyObject -> Void)) {\r\n      let chan = Phoenix.Channel(topic: topic, message: message, callback: callback, socket: self)\r\n      channels.append(chan)\r\n      if isConnected() {\r\n        print(\"joining\")\r\n        rejoin(chan)\r\n      }\r\n    }\r\n```\r\n\r\nIs there something I'm missing from the guides that makes this behavior required or a reason why the message argument is even provided? "}}