diff --git a/src/call.cpp b/src/call.cpp index 1b4433c779103da4cec75b1104a024c1d4233ba4..7cb319b720596eef65693ea249ef822d6c7ef4ec 100644 --- a/src/call.cpp +++ b/src/call.cpp @@ -265,20 +265,6 @@ Call::toggleRecording() return startRecording; } -std::string Call::getTypeStr() const -{ - switch (type_) { - case CallType::INCOMING: - return "incoming"; - case CallType::OUTGOING: - return "outgoing"; - case CallType::MISSED: - return "missed"; - default: - return ""; - } -} - std::map<std::string, std::string> Call::getDetails() const { diff --git a/src/call.h b/src/call.h index d1bad56c3ef0cedf083793d6ca4eeff9da0dfaf6..29c8f005f0896770a4a70fff000c0e5acd39d922 100644 --- a/src/call.h +++ b/src/call.h @@ -349,8 +349,6 @@ class Call : public Recordable, public std::enable_shared_from_this<Call> { private: bool validStateTransition(CallState newState); - std::string getTypeStr() const; - /** Protect every attribute that can be changed by two threads */ mutable std::recursive_mutex callMutex_ {};