Shared roster Group Directive @all@ does not work

Hello,

I use the last version of Ejabberd on CentOS 7.

I would like to see all users of my server on Jabber client. So, i can use Shared Roster Group with the directive @all@ but does not work. Why ?

Thanks.

It doesn't work because it

It doesn't work because it found some problem.

What problem ? In the log

What problem ?

In the log "/opt/ejabberd-15.04/logs/erro.log" I have this.

2015-06-01 09:45:21.499 [error] <0.505.0>@ejabberd_hooks:run1:335 {badarg,[{erlang,binary_to_list,[{<<"Online">>,[{name,<<"Online">>},{displayed_groups,[<<"Online">>]},{description,<<"test">>},{online_users,true}]}],[]},{str,tokens,2,[{file,"src/str.erl"},{line,242}]},{mod_shared_roster,split_grouphost,2,[{file,"src/mod_shared_roster.erl"},{line,1367}]},{mod_shared_roster,get_group_users,2,[{file,"src/mod_shared_roster.erl"},{line,610}]},{mod_shared_roster,push_members_to_user,5,[{file,"src/mod_shared_roster.erl"},{line,932}]},{mod_shared_roster,'-push_displayed_to_user/5-lc$^0/1-0-',5,[{file,"src/mod_shared_roster.erl"},{line,880}]},{lists,foreach,2,[{file,"lists.erl"},{line,1336}]},{ejabberd_hooks,safe_apply,3,[{file,"src/ejabberd_hooks.erl"},{line,385}]}]}

Ah, there's a bug in ejabberd

Ah, there's a bug in ejabberd 15.02 and newer vesrions, it appears when using @online@. I've fixed it here now. Thanks for reporting!
https://github.com/processone/ejabberd/commit/357ff6c8f791781553a74e5ac4...

You're welcome, Ok the

You're welcome, Ok the directive @online@ is valid but the directive @all@ does not work. Why ? I see nothing in the file log "error.log".

Please, help me.

In my tests it works

In my tests it works correctly. If there aren't error reports, and you don't have some clue why it happens...

Syndicate content