diff options
-rw-r--r-- | src/capabilities.h | 1 | ||||
-rw-r--r-- | src/connection.c | 4 |
2 files changed, 4 insertions, 1 deletions
diff --git a/src/capabilities.h b/src/capabilities.h index 811f1137..8e7d1a03 100644 --- a/src/capabilities.h +++ b/src/capabilities.h @@ -57,6 +57,7 @@ const GabbleCapabilitySet *gabble_capabilities_get_olpc_notify (void); #define BUNDLE_SHARE_V1 "share-v1" #define BUNDLE_VOICE_V1 "voice-v1" #define BUNDLE_VIDEO_V1 "video-v1" +#define BUNDLE_CAMERA_V1 "camera-v1" #define BUNDLE_PMUC_V1 "pmuc-v1" const GabbleCapabilitySet *gabble_capabilities_get_bundle_share_v1 (void); diff --git a/src/connection.c b/src/connection.c index ad474d27..5d5e35f6 100644 --- a/src/connection.c +++ b/src/connection.c @@ -2322,8 +2322,10 @@ gabble_connection_fill_in_caps (GabbleConnection *self, if (voice_v1) g_string_append (ext, " " BUNDLE_VOICE_V1); - if (video_v1) + if (video_v1) { g_string_append (ext, " " BUNDLE_VIDEO_V1); + g_string_append (ext, " " BUNDLE_CAMERA_V1); + } lm_message_node_set_attribute (node, "ext", ext->str); g_string_free (ext, TRUE); |