diff --git a/src/WebRTCSession.cpp b/src/WebRTCSession.cpp
index c746df8e7a75bb3df04c8c317d41d1a29dabc0bb..31d5b5ed5175f5463bd423e68cc2c2afd89231a4 100644
--- a/src/WebRTCSession.cpp
+++ b/src/WebRTCSession.cpp
@@ -25,7 +25,7 @@ extern "C"
 #endif
 
 // https://github.com/vector-im/riot-web/issues/10173
-[[maybe_unused]] constexpr std::string_view STUN_SERVER = "stun://turn.matrix.org:3478";
+#define STUN_SERVER "stun://turn.matrix.org:3478"
 
 Q_DECLARE_METATYPE(webrtc::State)