# HG changeset patch # User Gary Kramlich # Date 1727378625 18000 # Node ID c77cf8366ec6f5215b45aa942152d7c0653a6f7d # Parent 5cd0ccba395e1a6b2bd65850434340791daf2e83 IRCv3: Use the nick as the display name Previously, if you used the same services account across nicks messages would display as coming from the account id instead of the nick. This addresses that by setting the display name of the contact info to the nick. Testing Done: Connected to an irc server and sent messages from multiple clients with different nicks that were using the same services account. Reviewed at https://reviews.imfreedom.org/r/3533/ diff -r 5cd0ccba395e -r c77cf8366ec6 protocols/ircv3/purpleircv3connection.c --- a/protocols/ircv3/purpleircv3connection.c Thu Sep 26 14:20:52 2024 -0500 +++ b/protocols/ircv3/purpleircv3connection.c Thu Sep 26 14:23:45 2024 -0500 @@ -942,6 +942,7 @@ } purple_contact_info_set_sid(PURPLE_CONTACT_INFO(contact), source); + purple_contact_info_set_display_name(PURPLE_CONTACT_INFO(contact), nick); g_free(nick);