diff options
-rw-r--r-- | ChangeLog | 7 | ||||
-rw-r--r-- | src/mod_muc/mod_muc_room.erl | 2 |
2 files changed, 7 insertions, 2 deletions
@@ -1,4 +1,9 @@ -2008-02-02 Mickael Remond <mremond@process-one.net +2008-02-04 Alexey Shchepin <alexey@process-one.net> + + * src/mod_muc/mod_muc_room.erl: Append "(n/a)" to disco room + descriptions when a number of occupants is not available + +2008-02-02 Mickael Remond <mremond@process-one.net> * src/mod_pubsub/nodetree_virtual.erl: Fixed error report at startup. diff --git a/src/mod_muc/mod_muc_room.erl b/src/mod_muc/mod_muc_room.erl index ec0d271d1..90c70780a 100644 --- a/src/mod_muc/mod_muc_room.erl +++ b/src/mod_muc/mod_muc_room.erl @@ -675,7 +675,7 @@ handle_sync_event({get_disco_item, JID, Lang}, _From, StateName, StateData) -> StateData#state.users), " (" ++ Desc ++ integer_to_list(Len) ++ ")"; _ -> - "" + " (n/a)" end, Reply = case ((StateData#state.config)#config.public == true) orelse (FRole /= none) orelse |