summary refs log tree commit diff
path: root/src/EventAccessors.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/EventAccessors.cpp')
-rw-r--r--src/EventAccessors.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/EventAccessors.cpp b/src/EventAccessors.cpp

index e4dfe92e..f3cb4f99 100644 --- a/src/EventAccessors.cpp +++ b/src/EventAccessors.cpp
@@ -75,7 +75,7 @@ struct CallType template<class T> std::string operator()(const T &e) { - if constexpr (std::is_same_v<mtx::events::RoomEvent<mtx::events::msg::CallInvite>, T>) { + if constexpr (std::is_same_v<mtx::events::RoomEvent<mtx::events::voip::CallInvite>, T>) { const char video[] = "m=video"; const std::string &sdp = e.content.sdp; return std::search(sdp.cbegin(),