Mercurial > prosody-hg
comparison core/rostermanager.lua @ 268:fd0607c8f179
Merge from waqas
| author | Matthew Wild <mwild1@gmail.com> |
|---|---|
| date | Sat, 15 Nov 2008 00:35:09 +0000 |
| parents | 75275b6b4e03 6303b7454ad0 |
| children | cccd610a0ef9 |
comparison
equal
deleted
inserted
replaced
| 266:34b053c001f8 | 268:fd0607c8f179 |
|---|---|
| 230 end | 230 end |
| 231 if item then | 231 if item then |
| 232 if item.subscription == "from" then | 232 if item.subscription == "from" then |
| 233 item.subscription = "none"; | 233 item.subscription = "none"; |
| 234 changed = true; | 234 changed = true; |
| 235 elseif item.subscription == both then | 235 elseif item.subscription == "both" then |
| 236 item.subscription = "to"; | 236 item.subscription = "to"; |
| 237 changed = true; | 237 changed = true; |
| 238 end | 238 end |
| 239 end | 239 end |
| 240 if changed then | 240 if changed then |
