From 271a8baaeb5cbd19047c50681d955c14115fc86f Mon Sep 17 00:00:00 2001 From: xengineering Date: Sun, 4 Dec 2022 14:04:06 +0100 Subject: Connect on mouse click With this commit the client starts the connection to the server as soon as the user clicks into the application window. Disconnect or reading / writing to the stream is not implemented. --- xmpp.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'xmpp.h') diff --git a/xmpp.h b/xmpp.h index 9752e38..f6b9071 100644 --- a/xmpp.h +++ b/xmpp.h @@ -17,5 +17,5 @@ */ -void xmpp_connect(void); +int xmpp_connect(void); char *get_domainpart(char *jid); -- cgit v1.2.3-70-g09d2