From 04a5bf28e21ad9cf341b09eabe87d67627c60534 Mon Sep 17 00:00:00 2001 From: Gilles Dartiguelongue Date: Sat, 2 Sep 2017 18:23:10 +0200 Subject: [PATCH] Add missing VOIP ifdef guards --- src/muc-channel.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/muc-channel.c b/src/muc-channel.c index c0a27a490..9f6e01167 100644 --- a/src/muc-channel.c +++ b/src/muc-channel.c @@ -1647,9 +1647,11 @@ gabble_muc_channel_can_be_closed (GabbleMucChannel *chan) if (g_hash_table_size (priv->tubes) > 0) return FALSE; +#ifdef ENABLE_VOIP if (priv->calls != NULL || priv->call_requests != NULL || priv->call_initiating) return FALSE; +#endif return TRUE; } -- 2.14.1