Fix PubSub NG compilation
This commit is contained in:
parent
bec499a4a1
commit
170874e115
|
@ -273,15 +273,15 @@
|
|||
Subscription_Options :: []}
|
||||
).
|
||||
|
||||
-type(subscription()
|
||||
:: {Subscription_State :: exmpp_pubsub:subscription_state(),
|
||||
SubId :: exmpp_pubsub:subId(),
|
||||
Resource :: undefined | xmpp_jid:resource_jid() | {'caps', xmpp_jid:resource_jid()},
|
||||
Subscription_Options :: [] | pubsub_options:options_subscription()}
|
||||
%% :: exmpp_pubsub:subscription_subscribed()
|
||||
%% | exmpp_pubsub:subscription_pending()
|
||||
%% | exmpp_pubsub:subscription_unconfigured()
|
||||
).
|
||||
%% -type(subscription()
|
||||
%% :: {Subscription_State :: exmpp_pubsub:subscription_state(),
|
||||
%% SubId :: exmpp_pubsub:subId(),
|
||||
%% Resource :: undefined | xmpp_jid:resource_jid() | {'caps', xmpp_jid:resource_jid()},
|
||||
%% Subscription_Options :: [] | pubsub_options:options_subscription()}
|
||||
%% %% :: exmpp_pubsub:subscription_subscribed()
|
||||
%% %% | exmpp_pubsub:subscription_pending()
|
||||
%% %% | exmpp_pubsub:subscription_unconfigured()
|
||||
%% ).
|
||||
|
||||
-type(subscriptions()
|
||||
:: [exmpp_pubsub:subscription(),...]
|
||||
|
|
|
@ -29,7 +29,6 @@
|
|||
|
||||
-include("pubsub_dev.hrl").
|
||||
-include("pubsub_api.hrl").
|
||||
-include("logger.hrl").
|
||||
|
||||
-compile(export_all).
|
||||
|
||||
|
|
|
@ -31,7 +31,6 @@
|
|||
|
||||
-include("pubsub_dev.hrl").
|
||||
-include("pubsub_api.hrl").
|
||||
-include("logger.hrl").
|
||||
|
||||
|
||||
-import(pubsub_tools,
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
|
||||
%-include_lib("exmpp/include/exmpp.hrl").
|
||||
%-include_lib("exmpp/include/exmpp_jid.hrl").
|
||||
-include("logger.hrl").
|
||||
-include("ejabberd.hrl").
|
||||
-include("mod_roster.hrl").
|
||||
-include("jlib.hrl").
|
||||
|
|
|
@ -76,10 +76,10 @@
|
|||
|
||||
-type(n0des() :: [Node::n0de(),...]).
|
||||
|
||||
-type(subscription()
|
||||
:: {NodeIdx :: exmpp_pubsub:nodeIdx(),
|
||||
Groups :: roster_groups()}
|
||||
).
|
||||
%% -type(subscription()
|
||||
%% :: {NodeIdx :: exmpp_pubsub:nodeIdx(),
|
||||
%% Groups :: roster_groups()}
|
||||
%% ).
|
||||
|
||||
-type(subscriptions() :: [Subscription::subscription(),...]).
|
||||
|
||||
|
|
Loading…
Reference in New Issue