mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-24 16:23:40 +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:
parent
65981598ed
commit
24a7d86577
@ -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.
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user