Merge pull request #2041 from profanity-im/some-improvements

Summary:
- Print the final storage location when successfully decrypting a file with `aesgcm://` source.
- Less GString
- Re-factor cmd_presence()
- Improve const correctness
- Use correct free function. Fixes: 75d7663 ("Free wins summary list")

Pull Request Source: https://github.com/profanity-im/profanity/pull/2041

Author: Steffen Jaeckel <s@jaeckel.eu>
This commit is contained in:
Michael Vetter
2025-07-02 21:33:21 +02:00
committed by Jabber Developer
parent b7afea7ec3
commit 091ff41c06
8 changed files with 52 additions and 73 deletions

View File

@@ -190,7 +190,7 @@ get_nick_from_full_jid(const char* const full_room_jid)
/*
* get the fulljid, fall back to the barejid
*/
char*
const char*
jid_fulljid_or_barejid(Jid* jid)
{
if (jid->fulljid) {