25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-11-20 16:15:59 +01:00

Rename obsolete type in comments

This commit is contained in:
Christophe Romain 2018-06-29 11:10:35 +02:00
parent 62cb398734
commit 46abf7cfab

View File

@ -129,13 +129,13 @@
id ,% :: mod_pubsub:nodeIdx(), id ,% :: mod_pubsub:nodeIdx(),
parents = [] ,% :: [mod_pubsub:nodeId(),...], parents = [] ,% :: [mod_pubsub:nodeId(),...],
type = <<"flat">>,% :: binary(), type = <<"flat">>,% :: binary(),
owners = [] ,% :: [jlib:ljid(),...], owners = [] ,% :: [jid:ljid(),...],
options = [] % :: mod_pubsub:nodeOptions() options = [] % :: mod_pubsub:nodeOptions()
}). }).
-record(pubsub_state, -record(pubsub_state,
{ {
stateid ,% :: {jlib:ljid(), mod_pubsub:nodeIdx()}, stateid ,% :: {jid:ljid(), mod_pubsub:nodeIdx()},
nodeidx ,% :: mod_pubsub:nodeIdx(), nodeidx ,% :: mod_pubsub:nodeIdx(),
items = [] ,% :: [mod_pubsub:itemId(),...], items = [] ,% :: [mod_pubsub:itemId(),...],
affiliation = 'none',% :: mod_pubsub:affiliation(), affiliation = 'none',% :: mod_pubsub:affiliation(),
@ -146,8 +146,8 @@
{ {
itemid ,% :: {mod_pubsub:itemId(), mod_pubsub:nodeIdx()}, itemid ,% :: {mod_pubsub:itemId(), mod_pubsub:nodeIdx()},
nodeidx ,% :: mod_pubsub:nodeIdx(), nodeidx ,% :: mod_pubsub:nodeIdx(),
creation = {unknown, unknown},% :: {erlang:timestamp(), jlib:ljid()}, creation = {unknown, unknown},% :: {erlang:timestamp(), jid:ljid()},
modification = {unknown, unknown},% :: {erlang:timestamp(), jlib:ljid()}, modification = {unknown, unknown},% :: {erlang:timestamp(), jid:ljid()},
payload = [] % :: mod_pubsub:payload() payload = [] % :: mod_pubsub:payload()
}). }).
@ -161,7 +161,7 @@
{ {
nodeid ,% :: {binary(), mod_pubsub:nodeIdx()}, nodeid ,% :: {binary(), mod_pubsub:nodeIdx()},
itemid ,% :: mod_pubsub:itemId(), itemid ,% :: mod_pubsub:itemId(),
creation ,% :: {erlang:timestamp(), jlib:ljid()}, creation ,% :: {erlang:timestamp(), jid:ljid()},
payload % :: mod_pubsub:payload() payload % :: mod_pubsub:payload()
}). }).