refactor: make Jid use glib functions

This commit is contained in:
Michael Vetter
2026-02-26 17:57:42 +01:00
parent abffffb499
commit f98e33be81
8 changed files with 31 additions and 37 deletions

View File

@@ -565,11 +565,11 @@ session_reconnect_now(void)
return;
}
auto_char char* jid = NULL;
auto_gchar gchar* jid = NULL;
if (account->resource) {
jid = create_fulljid(account->jid, account->resource);
} else {
jid = strdup(account->jid);
jid = g_strdup(account->jid);
}
const char* server;
unsigned short port;