Thu, 26 Sep 2024 14:23:45 -0500
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/
| protocols/ircv3/purpleircv3connection.c | file | annotate | diff | comparison | revisions |
--- 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);