Updated call event namespaces to voip

This commit is contained in:
r0hit05 2022-06-27 21:39:31 +05:30
parent aaa078a520
commit 6663e5683d
12 changed files with 66 additions and 66 deletions

View file

@ -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(),