mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-22 16:20:52 +01:00
Fix small bug in presence_based_delivery implementation
This commit is contained in:
parent
872cc12dd8
commit
f3aa74a043
@ -4156,7 +4156,7 @@ presence_can_deliver({User, Server, Resource}, true) ->
|
|||||||
({session, _, _ , _, undefined, _}, _Acc) -> false;
|
({session, _, _ , _, undefined, _}, _Acc) -> false;
|
||||||
({session, _, {_, _, R}, _, _Priority, _}, _Acc) ->
|
({session, _, {_, _, R}, _, _Priority, _}, _Acc) ->
|
||||||
case Resource of
|
case Resource of
|
||||||
[] -> true;
|
<<>> -> true;
|
||||||
R -> true;
|
R -> true;
|
||||||
_ -> false
|
_ -> false
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user