[telepathy-gabble/master] Remove Jingle errors no longer in the Jingle XEP

Will Thompson will.thompson at collabora.co.uk
Tue Mar 31 11:30:04 PDT 2009


These were neither sent nor explicitly consumed by Gabble; the only
impact is that some debugging messages might be less specific when
receiving them.
---
 src/error.c |   20 --------------------
 src/error.h |    2 --
 2 files changed, 0 insertions(+), 22 deletions(-)

diff --git a/src/error.c b/src/error.c
index 123905a..5c2322e 100644
--- a/src/error.c
+++ b/src/error.c
@@ -272,26 +272,6 @@ static const XmppErrorSpec xmpp_errors[NUM_XMPP_ERRORS] =
     },
 
     {
-      "unsupported-transports",
-      "the recipient does not support any of the desired content transport "
-      "methods",
-      "cancel",
-      XMPP_ERROR_FEATURE_NOT_IMPLEMENTED,
-      NS_JINGLE_ERRORS,
-      { 0, },
-    },
-
-    {
-      "unsupported-content",
-      "the recipient does not support any of the desired content description"
-      "formats",
-      "cancel",
-      XMPP_ERROR_FEATURE_NOT_IMPLEMENTED,
-      NS_JINGLE_ERRORS,
-      { 0, },
-    },
-
-    {
       "no-valid-streams",
       "None of the available streams are acceptable.",
       "cancel",
diff --git a/src/error.h b/src/error.h
index f2ee265..95770f1 100644
--- a/src/error.h
+++ b/src/error.h
@@ -72,8 +72,6 @@ typedef enum {
 
     XMPP_ERROR_JINGLE_OUT_OF_ORDER,
     XMPP_ERROR_JINGLE_UNKNOWN_SESSION,
-    XMPP_ERROR_JINGLE_UNSUPPORTED_CONTENT,
-    XMPP_ERROR_JINGLE_UNSUPPORTED_TRANSPORT,
 
     XMPP_ERROR_SI_NO_VALID_STREAMS,
     XMPP_ERROR_SI_BAD_PROFILE,
-- 
1.5.6.5




More information about the telepathy-commits mailing list