summary refs log tree commit diff
path: root/src/EventAccessors.cpp
diff options
context:
space:
mode:
authorDeepBlueV7.X <nicolas.werner@hotmail.de>2022-07-15 14:27:21 +0000
committerGitHub <noreply@github.com>2022-07-15 14:27:21 +0000
commit4b68fc927108bbdfadc3b1e0e9a6d7d3a2c5adcb (patch)
tree1f75157ecd732e94f3f10586556f7fdcaa73f1bd /src/EventAccessors.cpp
parentTranslated using Weblate (French) (diff)
parentFixed formatting (diff)
downloadnheko-4b68fc927108bbdfadc3b1e0e9a6d7d3a2c5adcb.tar.xz
Merge pull request #1110 from r0hit05/msc2746
Update namespace for call events
Diffstat (limited to 'src/EventAccessors.cpp')
-rw-r--r--src/EventAccessors.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/EventAccessors.cpp b/src/EventAccessors.cpp

index e4dfe92e..659338a0 100644 --- a/src/EventAccessors.cpp +++ b/src/EventAccessors.cpp
@@ -75,9 +75,9 @@ 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; + const std::string &sdp = e.content.offer.sdp; return std::search(sdp.cbegin(), sdp.cend(), std::cbegin(video),