mirror of
https://github.com/processone/ejabberd.git
synced 2024-12-20 17:27:00 +01:00
caps storage indexed on case insensitive jid
SVN Revision: 2382
This commit is contained in:
parent
46735f7c62
commit
fef762243c
@ -240,7 +240,8 @@ remove_connection(_SID, JID, _Info) ->
|
||||
clear_caps(JID).
|
||||
|
||||
jid_to_binary(JID) ->
|
||||
list_to_binary(jlib:jid_to_string(JID)).
|
||||
{U, S, R} = jlib:jid_tolower(JID),
|
||||
list_to_binary(jlib:jid_to_string({U, S, R})).
|
||||
|
||||
caps_to_binary(#caps{node = Node, version = Version, exts = Exts}) ->
|
||||
BExts = [list_to_binary(Ext) || Ext <- Exts],
|
||||
|
Loading…
Reference in New Issue
Block a user