mirror of
https://github.com/processone/ejabberd.git
synced 2024-10-15 15:19:20 +02:00
fix pubsub unsubscription without SubId on odbc
This commit is contained in:
parent
60600c341e
commit
0266207e9d
@ -383,7 +383,7 @@ unsubscribe_node(NodeId, Sender, Subscriber, SubId) ->
|
||||
{Affiliation, Subscriptions} =
|
||||
select_affiliation_subscriptions(NodeId, SubKey),
|
||||
SubIdExists = case SubId of
|
||||
[] -> false;
|
||||
<<>> -> false;
|
||||
List when is_binary(List) -> true;
|
||||
_ -> false
|
||||
end,
|
||||
|
Loading…
Reference in New Issue
Block a user