libpurple/protocols/jabber/message.c

changeset 42348
991ae41441ab
parent 42306
aee8ab56690f
--- a/libpurple/protocols/jabber/message.c	Tue Oct 10 00:17:51 2023 -0500
+++ b/libpurple/protocols/jabber/message.c	Tue Oct 10 01:20:37 2023 -0500
@@ -249,8 +249,9 @@
 		return;
 
 	if(jm->subject) {
-		purple_chat_conversation_set_topic(chat->conv, jid->resource,
-				jm->subject);
+		/* TODO: use set_topic_full when we support contact info's. */
+		purple_conversation_set_topic(PURPLE_CONVERSATION(chat->conv),
+		                              jm->subject);
 		messageFlags |= PURPLE_MESSAGE_NO_LOG;
 		if(!jm->xhtml && !jm->body) {
 			char *msg, *tmp, *tmp2;

mercurial