core/rostermanager.lua
changeset 268 fd0607c8f179
parent 263 75275b6b4e03
parent 267 6303b7454ad0
child 519 cccd610a0ef9
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