diff -r 147ae29ea508 -r 64bbb9d4bf94 libpurple/purpleconversation.h --- a/libpurple/purpleconversation.h Mon Aug 26 23:57:48 2024 -0500 +++ b/libpurple/purpleconversation.h Tue Aug 27 00:01:29 2024 -0500 @@ -859,6 +859,31 @@ PURPLE_AVAILABLE_IN_3_0 void purple_conversation_set_typing_state(PurpleConversation *conversation, PurpleTypingState typing_state); +/** + * purple_conversation_get_logging: + * @conversation: The instance. + * + * Gets whether or not @conversation is currently being logged. + * + * Returns: %TRUE if @conversation is being logged, otherwise %FALSE. + * + * Since: 3.0 + */ +PURPLE_AVAILABLE_IN_3_0 +gboolean purple_conversation_get_logging(PurpleConversation *conversation); + +/** + * purple_conversation_set_logging: + * @conversation: The instance. + * @logging: The new logging state. + * + * Sets the logging state of @conversation to @logging. + * + * Since: 3.0 + */ +PURPLE_AVAILABLE_IN_3_0 +void purple_conversation_set_logging(PurpleConversation *conversation, gboolean logging); + G_END_DECLS #endif /* PURPLE_CONVERSATION_H */