mirror of
https://github.com/kunkundi/crossdesk.git
synced 2026-11-03 04:22:43 +08:00
25 lines
1.3 KiB
Diff
25 lines
1.3 KiB
Diff
diff --git a/src/pc/peer_connection.cpp b/src/pc/peer_connection.cpp
|
|
index bb9eb49..eda133f 100644
|
|
--- a/src/pc/peer_connection.cpp
|
|
+++ b/src/pc/peer_connection.cpp
|
|
@@ -459,3 +459,3 @@ int PeerConnection::SendJoinRequestLocked(
|
|
LOG_INFO("[{}] sends join transmission [{}] request", user_id_,
|
|
- transmission_id);
|
|
+ transmission_id.substr(0, transmission_id.find('@')));
|
|
}
|
|
@@ -481,3 +481,3 @@ int PeerConnection::Join(const std::string& transmission_id) {
|
|
LOG_INFO("Queue join transmission [{}] until signal login completes",
|
|
- transmission_id);
|
|
+ transmission_id.substr(0, transmission_id.find('@')));
|
|
return 0;
|
|
@@ -498,3 +498,3 @@ int PeerConnection::Leave(const std::string& transmission_id) {
|
|
LOG_INFO("Cancel queued join transmission [{}]",
|
|
- *pending_join_transmission_id_);
|
|
+ pending_join_transmission_id_->substr(0, pending_join_transmission_id_->find('@')));
|
|
pending_join_transmission_id_.reset();
|
|
@@ -508,3 +508,3 @@ int PeerConnection::Leave(const std::string& transmission_id) {
|
|
LOG_INFO("[{}] leave transmission [{}] notification queued",
|
|
- user_id_, transmission_id);
|
|
+ user_id_, transmission_id.substr(0, transmission_id.find('@')));
|
|
}
|