24
1
mirror of https://github.com/processone/ejabberd.git synced 2024-06-02 21:17:12 +02:00

Changed signature of user_sessions_info to take binaries rather than strings as it doesn't match anything in mnesia if it searches it by string

This commit is contained in:
colm 2015-02-13 23:15:02 +00:00 committed by Badlop
parent c3afc3c7c0
commit 441d48f080

View File

@ -285,7 +285,7 @@ commands() ->
tags = [session],
desc = "Get information about all sessions of a user",
module = ?MODULE, function = user_sessions_info,
args = [{user, string}, {host, string}],
args = [{user, binary}, {host, binary}],
result = {sessions_info,
{list,
{session, {tuple,