From 36f21e076d439034c24d0793cfbe87ad41934d84 Mon Sep 17 00:00:00 2001 From: "James D. Smith" Date: Mon, 9 Dec 2019 13:40:17 -0700 Subject: [PATCH] Re-order the presence spec to make the generated enum suitable for defining <> operator. --- spec/Connection_Interface_Simple_Presence.xml | 62 +++++++++---------- 1 file changed, 31 insertions(+), 31 deletions(-) diff --git a/spec/Connection_Interface_Simple_Presence.xml b/spec/Connection_Interface_Simple_Presence.xml index 0860f5fe..60fc798e 100644 --- a/spec/Connection_Interface_Simple_Presence.xml +++ b/spec/Connection_Interface_Simple_Presence.xml @@ -345,49 +345,49 @@ interface. - + + - Offline + Unknown, unable to determine presence for this contact, for example + if the protocol only allows presence of subscribed contacts. - + + - Available + Error, an error occurred while trying to determine presence. The + message, if set, is an error from the server. - + - Away + Offline - + - Away for an extended time + Hidden (invisible) - + - Hidden (invisible) + Away for an extended time - - + - Busy, Do Not Disturb. + Away - - + + - Unknown, unable to determine presence for this contact, for example - if the protocol only allows presence of subscribed contacts. + Busy, Do Not Disturb. - - + - Error, an error occurred while trying to determine presence. The - message, if set, is an error from the server. + Available @@ -616,16 +616,6 @@ entry in Statuses SHOULD have May_Set_On_Self set to False. - - "away" - Away - - - - "brb" - Away - Be Right Back (a more specific form of Away) - "busy" Busy @@ -636,6 +626,16 @@ Busy Do Not Disturb (a more specific form of Busy) + + "away" + Away + + + + "brb" + Away + Be Right Back (a more specific form of Away) + "xa" Extended_Away -- GitLab