Files
        @ 2bead6c17f25
    
        
              Branch filter: 
        
    Location: libtransport.git/include/Swiften/Parser/PayloadParsers/MUCPayloadParser.cpp - annotation
        
            
            2bead6c17f25
            783 B
            text/x-c++hdr
        
        
    
    Twitter backend: increase poll interval to 90 seconds
    | 065127585a72 065127585a72 065127585a72 065127585a72 065127585a72 065127585a72 065127585a72 065127585a72 065127585a72 065127585a72 065127585a72 065127585a72 065127585a72 065127585a72 065127585a72 065127585a72 065127585a72 065127585a72 065127585a72 065127585a72 065127585a72 065127585a72 065127585a72 065127585a72 065127585a72 065127585a72 065127585a72 | /*
 * Copyright (c) 2010 Kevin Smith
 * Licensed under the GNU General Public License v3.
 * See Documentation/Licenses/GPLv3.txt for more information.
 */
#include <Swiften/Parser/PayloadParsers/MUCPayloadParser.h>
#include <boost/lexical_cast.hpp>
#include <Swiften/Parser/PayloadParserFactoryCollection.h>
#include <Swiften/Parser/PayloadParserFactory.h>
#include <Swiften/Base/foreach.h>
#include <Swiften/Elements/MUCOccupant.h>
#include <Swiften/Parser/Tree/TreeReparser.h>
namespace Swift {
void MUCPayloadParser::handleTree(ParserElement::ref root) {
	foreach (ParserElement::ref child, root->getAllChildren()) {
		if (child->getName() == "password" && child->getNamespace() == root->getNamespace()) {
			getPayloadInternal()->setPassword(child->getText());
		}
	}
}
}
 |