summary refs log tree commit diff
path: root/src/CallManager.h
diff options
context:
space:
mode:
authorLoren Burkholder <computersemiexpert@outlook.com>2021-09-04 20:54:02 -0400
committerLoren Burkholder <computersemiexpert@outlook.com>2021-09-11 19:35:31 -0400
commit17729ce662528be1949b3157513d9c4a1db987de (patch)
tree55045f09013c110909836692560f5d9b64040a46 /src/CallManager.h
parentUse more descriptive property name (diff)
downloadnheko-17729ce662528be1949b3157513d9c4a1db987de.tar.xz
Fix jdenticons in various places
Diffstat (limited to '')
-rw-r--r--src/CallManager.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/CallManager.h b/src/CallManager.h

index 1d973191..407b8366 100644 --- a/src/CallManager.h +++ b/src/CallManager.h
@@ -32,6 +32,7 @@ class CallManager : public QObject Q_PROPERTY(webrtc::CallType callType READ callType NOTIFY newInviteState) Q_PROPERTY(webrtc::State callState READ callState NOTIFY newCallState) Q_PROPERTY(QString callParty READ callParty NOTIFY newInviteState) + Q_PROPERTY(QString callPartyDisplayName READ callPartyDisplayName NOTIFY newInviteState) Q_PROPERTY(QString callPartyAvatarUrl READ callPartyAvatarUrl NOTIFY newInviteState) Q_PROPERTY(bool isMicMuted READ isMicMuted NOTIFY micMuteChanged) Q_PROPERTY(bool haveLocalPiP READ haveLocalPiP NOTIFY newCallState) @@ -48,6 +49,7 @@ public: webrtc::CallType callType() const { return callType_; } webrtc::State callState() const { return session_.state(); } QString callParty() const { return callParty_; } + QString callPartyDisplayName() const { return callPartyDisplayName_; } QString callPartyAvatarUrl() const { return callPartyAvatarUrl_; } bool isMicMuted() const { return session_.isMicMuted(); } bool haveLocalPiP() const { return session_.haveLocalPiP(); } @@ -87,6 +89,7 @@ private: WebRTCSession &session_; QString roomid_; QString callParty_; + QString callPartyDisplayName_; QString callPartyAvatarUrl_; std::string callid_; const uint32_t timeoutms_ = 120000;