Improve const correctness

Signed-off-by: Steffen Jaeckel <jaeckel-floss@eyet-services.de>
This commit is contained in:
Steffen Jaeckel
2024-02-15 13:12:36 +01:00
parent 8a62d8e88b
commit 848acdd1fa
14 changed files with 21 additions and 36 deletions

View File

@@ -247,7 +247,7 @@ presence_send(const resource_presence_t presence_type, const int idle, char* sig
last = STANZA_TEXT_ONLINE;
}
char* account = session_get_account_name();
const char* account = session_get_account_name();
accounts_set_last_presence(account, last);
accounts_set_last_status(account, msg);
}