Mercurial > pidgin.yaz
diff src/conversation.h @ 11672:04e0189bb519
[gaim-migrate @ 13958]
(contact-aware conversation)-aware logging: When the active buddy changes, a new log is opened. This way, the logs (on-disk, assuming a file-based logger) always correspond to the buddy that send/received the messages. Given that we already have contactized logging, the logs will all be shown in the same log viewer. Also, if you use Options -> Enable Logging to change the default logging mode for a perticular conversation or part of a conversation, that setting will be preserved even if the active buddy changes.
committer: Tailor Script <tailor@pidgin.im>
author | Richard Laager <rlaager@wiktel.com> |
---|---|
date | Sun, 16 Oct 2005 18:15:47 +0000 |
parents | 38bbb0f15453 |
children | 3ba50c385299 |
line wrap: on
line diff
--- a/src/conversation.h Sat Oct 15 19:25:18 2005 +0000 +++ b/src/conversation.h Sun Oct 16 18:15:47 2005 +0000 @@ -417,6 +417,17 @@ gboolean gaim_conversation_is_logging(const GaimConversation *conv); /** + * Closes any open logs for this conversation. + * + * Note that new logs will be opened as necessary (e.g. upon receipt of a + * message, if the conversation has logging enabled. To disable logging for + * the remainder of the conversation, use gaim_conversation_set_logging(). + * + * @param conv The conversation. + */ +void gaim_conversation_close_logs(GaimConversation *conv); + +/** * Returns the specified conversation's send history. * * @param conv The conversation.