diff options
author | Alexey Shchepin <alexey@process-one.net> | 2008-02-03 23:17:39 +0000 |
---|---|---|
committer | Alexey Shchepin <alexey@process-one.net> | 2008-02-03 23:17:39 +0000 |
commit | 24a7d86577c9c4e8617c1c68e0ff98f30b84bc76 (patch) | |
tree | e30b88c33e24b6c0506407c0ce472b493202ec3d | |
parent | * src/mod_pubsub/nodetree_virtual.erl: Fixed error report at startup. (diff) |
* src/mod_muc/mod_muc_room.erl: Append "(n/a)" to disco room
descriptions when a number of occupants is not available
SVN Revision: 1171
-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 |