# HG changeset patch
# Node ID 0a88b3530e55
# Parent  e2078e5dc55c
diff --git a/libpurple/protocols/demo/purpledemoprotocolconversation.c b/libpurple/protocols/demo/purpledemoprotocolconversation.c
--- a/libpurple/protocols/demo/purpledemoprotocolconversation.c
+++ b/libpurple/protocols/demo/purpledemoprotocolconversation.c
@@ -85,6 +85,25 @@ purple_demo_protocol_send_message_async(
 		g_idle_add_full(G_PRIORITY_DEFAULT_IDLE,
 		                purple_demo_protocol_echo_im_cb, info,
 		                (GDestroyNotify)purple_demo_protocol_im_info_free);
+	} else if(purple_strequal(who, "Aegina")) {
+		PurpleDemoProtocolIMInfo *info = g_new(PurpleDemoProtocolIMInfo, 1);
+		const char *author = purple_message_get_author(message);
+		const char *contents = NULL;
+
+		if(purple_strequal(author, "Hades")) {
+			contents = "🫥️";
+		} else {
+			/* TRANSLATORS: This is a reference to the Cap of Invisibility owned by
+			 * various Greek gods, such as Hades, as mentioned. */
+			contents = _("Don't tell Hades I have his Cap");
+		}
+
+		info->conversation = g_object_ref(conversation);
+		info->message = purple_message_new_outgoing(author, who, contents,
+		                                            PURPLE_MESSAGE_SEND);
+
+		g_idle_add_full(G_PRIORITY_DEFAULT_IDLE, purple_demo_protocol_echo_im_cb,
+		                info, (GDestroyNotify)purple_demo_protocol_im_info_free);
 	}
 
 	purple_conversation_write_message(conversation, message);
diff --git a/libpurple/protocols/demo/resources/buddy_icons/Aegina.png b/libpurple/protocols/demo/resources/buddy_icons/Aegina.png
new file mode 100644
index 0000000000000000000000000000000000000000..21377736c9645143dd61b00dda14a298cf485a95
GIT binary patch
diff --git a/libpurple/protocols/demo/resources/contacts.json b/libpurple/protocols/demo/resources/contacts.json
--- a/libpurple/protocols/demo/resources/contacts.json
+++ b/libpurple/protocols/demo/resources/contacts.json
@@ -92,4 +92,18 @@
 		"group:Nymphs"
 	],
 	"username": "Echo"
+}, {
+	"id": "aegina",
+	"person": {
+		"id": "aegina"
+	},
+	"presence": {
+		"primitive": "offline",
+		"emoji": "🫥️",
+		"message": "Stole the Cap of Invisibility from Hades"
+	},
+	"tags": [
+		"group:Nymphs"
+	],
+	"username": "Aegina"
 }]
diff --git a/libpurple/protocols/demo/resources/purpledemo.gresource.xml b/libpurple/protocols/demo/resources/purpledemo.gresource.xml
--- a/libpurple/protocols/demo/resources/purpledemo.gresource.xml
+++ b/libpurple/protocols/demo/resources/purpledemo.gresource.xml
@@ -6,6 +6,7 @@
     <file>icons/22x22/apps/im-purple-demo.png</file>
     <file>icons/48x48/apps/im-purple-demo.png</file>
     <file>icons/scalable/apps/im-purple-demo.svg</file>
+    <file>buddy_icons/Aegina.png</file>
     <file>buddy_icons/Echo.png</file>
     <file>buddy_icons/Eion.png</file>
     <file>buddy_icons/Elliott.png</file>
