mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-22 16:20:52 +01:00
Fix nick bug with MUC on riak
This commit is contained in:
parent
b66dab1313
commit
3ca62a797a
@ -60,7 +60,7 @@ restore_room(_LServer, Host, Name) ->
|
|||||||
forget_room(_LServer, Host, Name) ->
|
forget_room(_LServer, Host, Name) ->
|
||||||
{atomic, ejabberd_riak:delete(muc_room, {Name, Host})}.
|
{atomic, ejabberd_riak:delete(muc_room, {Name, Host})}.
|
||||||
|
|
||||||
can_use_nick(LServer, Host, JID, Nick) ->
|
can_use_nick(_LServer, Host, JID, Nick) ->
|
||||||
{LUser, LServer, _} = jid:tolower(JID),
|
{LUser, LServer, _} = jid:tolower(JID),
|
||||||
LUS = {LUser, LServer},
|
LUS = {LUser, LServer},
|
||||||
case ejabberd_riak:get_by_index(muc_registered,
|
case ejabberd_riak:get_by_index(muc_registered,
|
||||||
|
Loading…
Reference in New Issue
Block a user