changeset 2123:300e7bf4416a

remove 'show_room_occupants_count' option. Just add member count unconditionaly
author sh!zeeg <shizeeque@gmail.com>
date Wed, 14 May 2014 13:57:56 +0400
parents b41719d57dac
children af7e705380b2
files mcabber/mcabber/commands.c mcabber/mcabberrc.example
diffstat 2 files changed, 2 insertions(+), 8 deletions(-) [+]
line wrap: on
line diff
--- a/mcabber/mcabber/commands.c	Wed May 14 10:47:56 2014 +0400
+++ b/mcabber/mcabber/commands.c	Wed May 14 13:57:56 2014 +0400
@@ -2127,10 +2127,8 @@
     g_free(p_res->data);
   }
   
-  if (settings_opt_get_int("show_room_occupants_count")) {
-    snprintf(buffer, 4095, "Total: %d", cnt);
-    scr_WriteIncomingMessage(bjid, buffer, 0, HBB_PREFIX_INFO, 0);
-  }
+  snprintf(buffer, 4095, "Total: %d", cnt);
+  scr_WriteIncomingMessage(bjid, buffer, 0, HBB_PREFIX_INFO, 0);
   
   g_slist_free(resources);
   g_free(buffer);
--- a/mcabber/mcabberrc.example	Wed May 14 10:47:56 2014 +0400
+++ b/mcabber/mcabberrc.example	Wed May 14 13:57:56 2014 +0400
@@ -493,10 +493,6 @@
 # Values:  0: never  1: only connect/disconnect  2: all
 #set show_status_in_buffer = 1
 #
-# Displays total occupants count at the end of '/room names' list
-# Values: 0: disable (default) 1: enable
-#set show_room_occupants_count = 0
-#
 # Set 'log_display_sender' to 1 to display the message sender's JID in the
 # log window (default: 0, no)
 #set log_display_sender = 0