[telepathy-haze-0.8] telepathy-haze: Fix the build with libpurple 2.10.12

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Mon Nov 9 22:24:33 UTC 2020


Module: telepathy-haze
Branch: telepathy-haze-0.8
Commit: a7a6d908fa175e85e9edf6e9a9ad6f2d29363e67
URL:    http://cgit.freedesktop.org/telepathy/telepathy-haze/commit/?id=a7a6d908fa175e85e9edf6e9a9ad6f2d29363e67

Author: Koop Mast <kwm at FreeBSD.org>
Date:   Tue Nov 10 00:32:02 2020 +0300

Fix the build with libpurple 2.10.12

---

 src/media-stream.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/media-stream.c b/src/media-stream.c
index 7b4f29f..da088d1 100644
--- a/src/media-stream.c
+++ b/src/media-stream.c
@@ -1076,7 +1076,7 @@ haze_media_stream_new_native_candidate (TpSvcMediaStreamHandler *iface,
       if (proto == TP_MEDIA_STREAM_BASE_PROTO_UDP)
         protocol = PURPLE_MEDIA_NETWORK_PROTOCOL_UDP;
       else if (proto == TP_MEDIA_STREAM_BASE_PROTO_TCP)
-        protocol = PURPLE_MEDIA_NETWORK_PROTOCOL_TCP;
+        protocol = PURPLE_MEDIA_NETWORK_PROTOCOL_TCP_PASSIVE;
       else
         DEBUG ("Unknown network protocol");
 



More information about the telepathy-commits mailing list