diff options
Diffstat (limited to '')
-rw-r--r-- | src/mod_muc_mnesia.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mod_muc_mnesia.erl b/src/mod_muc_mnesia.erl index 881ec758e..f237c564f 100644 --- a/src/mod_muc_mnesia.erl +++ b/src/mod_muc_mnesia.erl @@ -279,7 +279,7 @@ import(_LServer, <<"muc_room">>, opts = Opts}); import(_LServer, <<"muc_registered">>, [J, RoomHost, Nick, _TimeStamp]) -> - #jid{user = U, server = S} = jid:from_string(J), + #jid{user = U, server = S} = jid:decode(J), mnesia:dirty_write( #muc_registered{us_host = {{U, S}, RoomHost}, nick = Nick}). |