25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-12-26 17:38:45 +01:00

* 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
This commit is contained in:
Alexey Shchepin 2008-02-03 23:17:39 +00:00
parent 65981598ed
commit 24a7d86577
2 changed files with 7 additions and 2 deletions

View File

@ -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.

View File

@ -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