aboutsummaryrefslogtreecommitdiff
path: root/src/mod_muc/mod_muc_room.erl
diff options
context:
space:
mode:
Diffstat (limited to 'src/mod_muc/mod_muc_room.erl')
-rw-r--r--src/mod_muc/mod_muc_room.erl9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/mod_muc/mod_muc_room.erl b/src/mod_muc/mod_muc_room.erl
index 67e2610df..282b212ee 100644
--- a/src/mod_muc/mod_muc_room.erl
+++ b/src/mod_muc/mod_muc_room.erl
@@ -2968,11 +2968,12 @@ check_invitation(From, Els, Lang, StateData) ->
io_lib:format(
translate:translate(
Lang,
- "You have been invited to ~s by ~s"),
- [jlib:jid_to_string({StateData#state.room,
+ "~s invites you to the room ~s"),
+ [jlib:jid_to_string(From),
+ jlib:jid_to_string({StateData#state.room,
StateData#state.host,
- ""}),
- jlib:jid_to_string(From)])) ++
+ ""})
+ ])) ++
case (StateData#state.config)#config.password_protected of
true ->
", " ++