mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-22 16:20:52 +01:00
typo fix
This commit is contained in:
parent
975e7f47ee
commit
96d1400792
@ -3416,7 +3416,7 @@ sub_with_options(#pubsub_node{type = Type, id = NodeId}) ->
|
||||
[]
|
||||
end.
|
||||
sub_with_options(JID, NodeId, SubId) ->
|
||||
case pubsub_subscription_odbc:read_subscription(Entity, NodeId, SubId) of
|
||||
case pubsub_subscription_odbc:read_subscription(JID, NodeId, SubId) of
|
||||
{result, #pubsub_subscription{options = Options}} -> {JID, SubId, Options};
|
||||
_ -> {JID, SubId, []}
|
||||
end.
|
||||
|
@ -1,5 +1,5 @@
|
||||
--- mod_pubsub.erl 2011-02-09 14:26:03.000000000 +0100
|
||||
+++ mod_pubsub_odbc.erl 2011-02-09 14:26:41.000000000 +0100
|
||||
+++ mod_pubsub_odbc.erl 2011-02-09 16:31:15.000000000 +0100
|
||||
@@ -42,7 +42,7 @@
|
||||
%%% 6.2.3.1, 6.2.3.5, and 6.3. For information on subscription leases see
|
||||
%%% XEP-0060 section 12.18.
|
||||
@ -763,7 +763,7 @@
|
||||
sub_with_options(JID, NodeId, SubId) ->
|
||||
- case pubsub_subscription:read_subscription(JID, NodeId, SubId) of
|
||||
- #pubsub_subscription{options = Options} -> {JID, SubId, Options};
|
||||
+ case pubsub_subscription_odbc:read_subscription(Entity, NodeId, SubId) of
|
||||
+ case pubsub_subscription_odbc:read_subscription(JID, NodeId, SubId) of
|
||||
+ {result, #pubsub_subscription{options = Options}} -> {JID, SubId, Options};
|
||||
_ -> {JID, SubId, []}
|
||||
end.
|
||||
|
Loading…
Reference in New Issue
Block a user