1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-09-22 19:45:54 -04:00

Merge pull request #1433 from profanity-im/bookmark

xmpp/bookmark: don't use uninitialised field
This commit is contained in:
Michael Vetter 2020-10-19 23:21:00 +02:00 committed by GitHub
commit d05400fe6d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -126,6 +126,7 @@ bookmark_add(const char* jid, const char* nick, const char* password, const char
} else {
bookmark->name = NULL;
}
bookmark->ext_gajim_minimize = 0;
if (g_strcmp0(autojoin_str, "on") == 0) {
bookmark->autojoin = TRUE;