Software /
code /
prosody
Changeset
1597:84328a4df655
ejabberdsql2prosody: Fixed: 'ask' value should be nil for pending-in subscriptions
author | Waqas Hussain <waqas20@gmail.com> |
---|---|
date | Sun, 26 Jul 2009 15:36:06 +0500 |
parents | 1596:4fcb2df97141 |
children | 1598:d82e13d57821 |
files | tools/ejabberdsql2prosody.lua |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/tools/ejabberdsql2prosody.lua Sun Jul 26 15:28:04 2009 +0500 +++ b/tools/ejabberdsql2prosody.lua Sun Jul 26 15:36:06 2009 +0500 @@ -226,6 +226,7 @@ ask = "subscribe"; elseif ask == "I" then roster_pending(node, host, contact); + ask = nil; else error("Unknown ask type: "..ask); end local item = {name = name, ask = ask, subscription = subscription, groups = {}}; roster(node, host, contact, item);