Mark the Jabber/XMPP protocol plugin as deprecated

Thu, 30 Nov 2023 21:40:52 -0600

author
Gary Kramlich <grim@reaperworld.com>
date
Thu, 30 Nov 2023 21:40:52 -0600
changeset 42528
6aaf9a66f9d9
parent 42527
1954265c38f0
child 42529
f00a798a38a6

Mark the Jabber/XMPP protocol plugin as deprecated

This is to allow us to distinguish the new XMPP protocol plugin that we will be
starting shortly.

Testing Done:
Compiled and verified the ui looked alright with the change.

Reviewed at https://reviews.imfreedom.org/r/2855/

libpurple/protocols/jabber/xmpp.c file | annotate | diff | comparison | revisions
--- a/libpurple/protocols/jabber/xmpp.c	Thu Nov 30 21:35:10 2023 -0600
+++ b/libpurple/protocols/jabber/xmpp.c	Thu Nov 30 21:40:52 2023 -0600
@@ -132,15 +132,15 @@
 	          OPT_PROTO_MAIL_CHECK | OPT_PROTO_SLASH_COMMANDS_NATIVE |
 	          OPT_PROTO_PASSWORD_OPTIONAL;
 
-	return PURPLE_PROTOCOL(g_object_new(
+	return g_object_new(
 		XMPP_TYPE_PROTOCOL,
 		"id", XMPP_PROTOCOL_ID,
-		"name", "XMPP",
+		"name", "XMPP (Deprecated)",
 		"description", _("Extensible Messaging and Presence Protocol for IM, "
 		                 "voice, and video."),
 		"icon-name", "im-jabber",
 		"icon-resource-path", "/im/pidgin/libpurple/xmpp/icons",
 		"options", options,
 		NULL
-	));
+	);
 }

mercurial