--- a/protocols/ircv3/purpleircv3connection.h Fri Nov 15 02:23:29 2024 -0600 +++ b/protocols/ircv3/purpleircv3connection.h Fri Nov 15 02:31:25 2024 -0600 @@ -130,7 +130,7 @@ * Note that the ownership of the contact remains with the default * [class@Purple.ContactManager]. * - * Returns: (transfer none) (nullable): The contact. + * Returns: (transfer none): The contact. * * Since: 3.0 */ @@ -138,6 +138,20 @@ PurpleContact *purple_ircv3_connection_find_or_create_contact(PurpleIRCv3Connection *connection, IbisMessage *message); /** + * purple_ircv3_connection_find_or_create_contact_from_nick: + * @connection: The instance. + * @nick: The nick to find or create a contact for. + * + * Finds an existing contact or creates one for @nick. + * + * Returns: (transfer none): The contact. + * + * Since: 3.0 + */ +PURPLE_IRCV3_AVAILABLE_IN_ALL +PurpleContact *purple_ircv3_connection_find_or_create_contact_from_nick(PurpleIRCv3Connection *connection, const char *nick); + +/** * purple_ircv3_connection_get_status_conversation: (skip) * @connection: The instance. *