diff --git a/backends/swiften/main.cpp b/backends/swiften/main.cpp index 1a0bff55..7af2703b 100644 --- a/backends/swiften/main.cpp +++ b/backends/swiften/main.cpp @@ -224,6 +224,10 @@ class SwiftenPlugin : public NetworkPlugin { return; } + if (presence->getPayload() != NULL || presence->getPayload() != NULL) { + return; + } + LOG4CXX_INFO(logger, user << ": " << presence->getFrom().toBare().toString() << " presence changed"); std::string message = presence->getStatus();