$ git clone http://tcclient.ion.nu/tc_client.git
commit 3ad39e2f24122f2a6cf6fd656b3ce9834cba2d7a
Author: Alicia <...>
Date:   Thu May 5 13:14:04 2016 +0200

    tc_client-gtk: when automatically opening cameras is disabled don't open the ones that are active when joining either, and notify when someone cams up.

diff --git a/ChangeLog b/ChangeLog
index 1618458..b54a2d5 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -9,6 +9,7 @@ tc_client-gtk: reallocate frame when camera input size changes.
 tc_client-gtk: if we failed to open the camera, just give a grey screen.
 tc_client-gtk: made the settings accessible from the start window (previously only accessible from the main window, after already joining a channel)
 tc_client-gtk: added an option to use the --cookies parameter of the core to keep/reuse HTTP cookies.
+tc_client-gtk: when automatically opening cameras is disabled don't open the ones that are active when joining either, and notify when someone cams up.
 tc_client-gtk and camviewer: fixed compatibility with newer libavutil.
 tc_client-gtk and camviewer: added compatibility fallbacks for av_image_get_buffer_size() and av_packet_unref()
 libcamera(v4l2): if we failed to read the frame, give grey instead.
diff --git a/utilities/gtk/camviewer.c b/utilities/gtk/camviewer.c
index 95cadc3..0ce8732 100644
--- a/utilities/gtk/camviewer.c
+++ b/utilities/gtk/camviewer.c
@@ -243,6 +243,7 @@ gboolean handledata(GIOChannel* iochannel, GIOCondition condition, gpointer data
   if(!strncmp(buf, "Currently on cam: ", 18))
   {
     printchat(buf, 0);
+    if(!config_get_bool("autoopencams") && config_get_set("autoopencams")){return 1;}
     char* next=&buf[16];
     while(next)
     {
@@ -443,10 +444,14 @@ gboolean handledata(GIOChannel* iochannel, GIOCondition condition, gpointer data
     return 1;
   }
   // Start a stream when someone cams up
-  if(space && !strcmp(space, " cammed up") && (config_get_bool("autoopencams") || !config_get_set("autoopencams")))
+  if(space && !strcmp(space, " cammed up"))
   {
-    space[0]=0;
-    dprintf(tc_client_in[1], "/opencam %s\n", buf);
+    printchat(buf, 0);
+    if(config_get_bool("autoopencams") || !config_get_set("autoopencams"))
+    {
+      space[0]=0;
+      dprintf(tc_client_in[1], "/opencam %s\n", buf);
+    }
     return 1;
   }
   if(!strncmp(buf, "Starting media stream for ", 26))