Change name of result key for offline count to value

This is more user friendly and should be more consistent with other commands.
This commit is contained in:
Mickael Remond 2016-07-30 20:12:04 +02:00
parent 674a8039ef
commit 2a49f8cae7
No known key found for this signature in database
GPG Key ID: E6F6045D79965AA3
1 changed files with 1 additions and 1 deletions

View File

@ -535,7 +535,7 @@ get_commands_spec() ->
policy = user,
module = mod_offline, function = count_offline_messages,
args = [],
result = {res, integer}},
result = {value, integer}},
#ejabberd_commands{name = send_message, tags = [stanza],
desc = "Send a message to a local or remote bare of full JID",
module = ?MODULE, function = send_message,