Changeset - 362ebaf12fb6
[Not reviewed]
0 1 0
HanzZ - 12 years ago 2013-02-05 09:11:04
hanzz.k@gmail.com
Swiften: Do not forward presences with MUCPayload or MUCUserPayload.
1 file changed with 4 insertions and 0 deletions:
0 comments (0 inline, 0 general)
backends/swiften/main.cpp
Show inline comments
 
@@ -224,6 +224,10 @@ class SwiftenPlugin : public NetworkPlugin {
 
				return;
 
			}
 

	
 
			if (presence->getPayload<Swift::MUCUserPayload>() != NULL || presence->getPayload<Swift::MUCPayload>() != NULL) {
 
				return;
 
			}
 

	
 
			LOG4CXX_INFO(logger, user << ": " << presence->getFrom().toBare().toString() << " presence changed");
 

	
 
			std::string message = presence->getStatus();
0 comments (0 inline, 0 general)