Wed, 03 Aug 2022 02:59:09 +0200
client: Allow passing SCRAM hashes for use in authentication
client.lua | file | annotate | diff | comparison | revisions |
--- a/client.lua Wed Aug 03 02:47:55 2022 +0200 +++ b/client.lua Wed Aug 03 02:59:09 2022 +0200 @@ -72,8 +72,9 @@ return true; end -function stream:connect_client(jid, pass) +function stream:connect_client(jid, pass, client_key, server_key) self.jid, self.password = jid, pass; + self.client_key, self.server_key = client_key, server_key; self.username, self.host, self.resource = jid_split(jid); -- Required XMPP features