diff options
author | Matthew Wild <mwild1@gmail.com> | 2015-04-03 19:13:35 +0100 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2015-04-03 19:13:35 +0100 |
commit | a7b623769f159b1822ec1ec3ee78886a2bcb1a3f (patch) | |
tree | 3d0faeaba7d6c43bba11aa831dc59eaf1d9fb731 | |
parent | 7e460fd43feab7c2fb6770415c110eaa14aa8304 (diff) | |
download | prosody-a7b623769f159b1822ec1ec3ee78886a2bcb1a3f.tar.gz prosody-a7b623769f159b1822ec1ec3ee78886a2bcb1a3f.zip |
rostermanager: Remove unused parameter
-rw-r--r-- | core/rostermanager.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/rostermanager.lua b/core/rostermanager.lua index 19d07c94..7e165c27 100644 --- a/core/rostermanager.lua +++ b/core/rostermanager.lua @@ -227,7 +227,7 @@ function is_contact_pending_in(username, host, jid) local roster = load_roster(username, host); return roster[false].pending[jid]; end -function set_contact_pending_in(username, host, jid, pending) +function set_contact_pending_in(username, host, jid) local roster = load_roster(username, host); local item = roster[jid]; if item and (item.subscription == "from" or item.subscription == "both") then |