diff options
author | Badlop <badlop@process-one.net> | 2020-08-28 12:01:09 +0200 |
---|---|---|
committer | Badlop <badlop@process-one.net> | 2020-08-28 14:56:25 +0200 |
commit | a3be28b5c423bb021df9bb25b5e79f54ff6202e4 (patch) | |
tree | d62242521c1986161f84ba65d6a4e15b19677dab | |
parent | New hook to run when a room process is started (#3353) (diff) |
Provide room disco info identity name only when title was set (#3370)
-rw-r--r-- | src/mod_muc_room.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mod_muc_room.erl b/src/mod_muc_room.erl index bedce812b..6bcdd8897 100644 --- a/src/mod_muc_room.erl +++ b/src/mod_muc_room.erl @@ -4061,7 +4061,7 @@ make_disco_info(_From, StateData) -> end, #disco_info{identities = [#identity{category = <<"conference">>, type = <<"text">>, - name = get_title(StateData)}], + name = (StateData#state.config)#config.title}], features = Feats}. -spec process_iq_disco_info(jid(), iq(), state()) -> |