--- a/libpurple/protocols/demo/resources/contacts.json Sat Nov 18 02:49:16 2023 -0600
+++ b/libpurple/protocols/demo/resources/contacts.json Sun Nov 19 00:02:56 2023 -0600
@@ -72,7 +72,7 @@
- "primitive": "extended-away",
+ "primitive": "do-not-disturb", "message": "Running all the things in valgrind..."
--- a/libpurple/purplepresence.c Sat Nov 18 02:49:16 2023 -0600
+++ b/libpurple/purplepresence.c Sun Nov 19 00:02:56 2023 -0600
@@ -816,7 +816,7 @@
case PURPLE_PRESENCE_PRIMITIVE_AWAY:
- case PURPLE_PRESENCE_PRIMITIVE_EXTENDED_AWAY:
+ case PURPLE_PRESENCE_PRIMITIVE_DO_NOT_DISTURB: return _("Do not disturb");
case PURPLE_PRESENCE_PRIMITIVE_STREAMING:
--- a/libpurple/purplepresence.h Sat Nov 18 02:49:16 2023 -0600
+++ b/libpurple/purplepresence.h Sun Nov 19 00:02:56 2023 -0600
@@ -66,10 +66,11 @@
* @PURPLE_PRESENCE_PRIMITIVE_AWAY: The presence is online, but the user is
* away from their device.
- * @PURPLE_PRESENCE_PRIMITIVE_EXTENDED_AWAY: Similar to
- * @PURPLE_PRESENCE_PRIMITIVE_AWAY,
- * but typically means the user does
- * not want to be disturbed.
+ * @PURPLE_PRESENCE_PRIMITIVE_DO_NOT_DISTURB: Similar to + * @PURPLE_PRESENCE_PRIMITIVE_AWAY, + * but typically means the user has + * notifications and sounds * @PURPLE_PRESENCE_PRIMITIVE_STREAMING: The presence is online but is
@@ -84,7 +85,7 @@
PURPLE_PRESENCE_PRIMITIVE_IDLE,
PURPLE_PRESENCE_PRIMITIVE_INVISIBLE,
PURPLE_PRESENCE_PRIMITIVE_AWAY,
- PURPLE_PRESENCE_PRIMITIVE_EXTENDED_AWAY,
+ PURPLE_PRESENCE_PRIMITIVE_DO_NOT_DISTURB, PURPLE_PRESENCE_PRIMITIVE_STREAMING,
} PurplePresencePrimitive;
--- a/pidgin/pidginiconname.c Sat Nov 18 02:49:16 2023 -0600
+++ b/pidgin/pidginiconname.c Sun Nov 19 00:02:56 2023 -0600
@@ -46,7 +46,7 @@
return "pidgin-user-invisible";
case PURPLE_STATUS_EXTENDED_AWAY:
- return "pidgin-user-extended-away";
+ return "pidgin-user-do-not-disturb"; case PURPLE_STATUS_MOBILE:
case PURPLE_STATUS_UNSET:
@@ -107,8 +107,8 @@
case PURPLE_PRESENCE_PRIMITIVE_AWAY:
return "pidgin-user-away";
- case PURPLE_PRESENCE_PRIMITIVE_EXTENDED_AWAY:
- return "pidgin-user-extended-away";
+ case PURPLE_PRESENCE_PRIMITIVE_DO_NOT_DISTURB: + return "pidgin-user-do-not-disturb"; case PURPLE_PRESENCE_PRIMITIVE_STREAMING:
/* TODO: get an icon for streaming. */
--- a/pidgin/resources/pidgin.gresource.xml Sat Nov 18 02:49:16 2023 -0600
+++ b/pidgin/resources/pidgin.gresource.xml Sun Nov 19 00:02:56 2023 -0600
@@ -51,7 +51,7 @@
<file>icons/16x16/status/pidgin-user-available.png</file>
<file>icons/16x16/status/pidgin-user-away.png</file>
<file>icons/16x16/status/pidgin-user-busy.png</file>
- <file>icons/16x16/status/pidgin-user-extended-away.png</file>
+ <file>icons/16x16/status/pidgin-user-do-not-disturb.png</file> <file>icons/16x16/status/pidgin-user-invisible.png</file>
<file>icons/16x16/status/pidgin-user-offline.png</file>
<file>icons/16x16/status/pidgin-user-unavailable.png</file>