diff --git a/Linphone/core/account/AccountCore.cpp b/Linphone/core/account/AccountCore.cpp index 878617e6d..6fb83d3d8 100644 --- a/Linphone/core/account/AccountCore.cpp +++ b/Linphone/core/account/AccountCore.cpp @@ -374,8 +374,8 @@ void AccountCore::setUnreadMessageNotifications(int unread) { void AccountCore::onRegistrationStateChanged(const std::shared_ptr &account, linphone::RegistrationState state, const std::string &message) { - lDebug() << log().arg(Q_FUNC_INFO) << (int)state; mRegistrationState = LinphoneEnums::fromLinphone(state); + lDebug() << log().arg(Q_FUNC_INFO) << mRegistrationState; emit registrationStateChanged(Utils::coreStringToAppString(message)); } diff --git a/Linphone/core/call/CallCore.cpp b/Linphone/core/call/CallCore.cpp index f9584d5b8..6c5f08905 100644 --- a/Linphone/core/call/CallCore.cpp +++ b/Linphone/core/call/CallCore.cpp @@ -262,6 +262,7 @@ void CallCore::setSelf(QSharedPointer me) { bool isConf = call && call->getConference() != nullptr; auto subject = call->getConference() ? Utils::coreStringToAppString(call->getConference()->getSubject()) : ""; mCallModelConnection->invokeToCore([this, state, subject, isConf]() { + lDebug() << log().arg("::onStateChanged") << LinphoneEnums::fromLinphone(state); setRecordable(state == linphone::Call::State::StreamsRunning); setPaused(state == linphone::Call::State::Paused || state == linphone::Call::State::PausedByRemote); if (mConference) mConference->setSubject(subject); diff --git a/Linphone/data/languages/de.ts b/Linphone/data/languages/de.ts index dd6063e47..2732c63b0 100644 --- a/Linphone/data/languages/de.ts +++ b/Linphone/data/languages/de.ts @@ -669,64 +669,64 @@ Die Aufnahme wurde in der folgenden Datei gespeichert: %1 - - + + call_stats_codec_label "Codec: %1 / %2 kHz" Codec: %1 / %2 kHz - - + + call_stats_bandwidth_label "Bande passante : %1 %2 kbits/s %3 %4 kbits/s" Bandbreite: %1 %2 kbits/s %3 %4 kbits/s - - + + call_stats_loss_rate_label "Taux de perte: %1% %2%" Verlustquote: %1% %2% - + call_stats_jitter_buffer_label "Tampon de gigue: %1 ms" Jitter-Puffer: %1 ms - + call_stats_resolution_label "Définition vidéo : %1 %2 %3 %4" Videoauflösung: %1 %2 %3 %4 - + call_stats_fps_label "FPS : %1 %2 %3 %4" FPS : %1 %2 %3 %4 - + media_encryption_dtls DTLS - + media_encryption_none None - + media_encryption_srtp SRTP - + media_encryption_post_quantum "ZRTP - Post quantique" Post-quantum ZRTP diff --git a/Linphone/data/languages/en.ts b/Linphone/data/languages/en.ts index 8bde3adbf..8d2e1a215 100644 --- a/Linphone/data/languages/en.ts +++ b/Linphone/data/languages/en.ts @@ -669,64 +669,64 @@ Recording has been saved in file : %1 - - + + call_stats_codec_label "Codec: %1 / %2 kHz" Codec: %1 / %2 kHz - - + + call_stats_bandwidth_label "Bande passante : %1 %2 kbits/s %3 %4 kbits/s" Bandwidth : %1 %2 kbits/s %3 %4 kbits/s - - + + call_stats_loss_rate_label "Taux de perte: %1% %2%" Loss rate: %1% %2% - + call_stats_jitter_buffer_label "Tampon de gigue: %1 ms" Jitter buffer : %1 ms - + call_stats_resolution_label "Définition vidéo : %1 %2 %3 %4" Video resolution: %1 %2 %3 %4 - + call_stats_fps_label "FPS : %1 %2 %3 %4" FPS : %1 %2 %3 %4 - + media_encryption_dtls DTLS DTLS - + media_encryption_none None None - + media_encryption_srtp SRTP SRTP - + media_encryption_post_quantum "ZRTP - Post quantique" Post quantum ZRTP diff --git a/Linphone/data/languages/fr_FR.ts b/Linphone/data/languages/fr_FR.ts index 4d963cb8a..cb028921a 100644 --- a/Linphone/data/languages/fr_FR.ts +++ b/Linphone/data/languages/fr_FR.ts @@ -669,64 +669,64 @@ L'appel a été enregistré dans le fichier : %1 - - + + call_stats_codec_label "Codec: %1 / %2 kHz" Codec: %1 / %2 kHz - - + + call_stats_bandwidth_label "Bande passante : %1 %2 kbits/s %3 %4 kbits/s" Bande passante : %1 %2 kbits/s %3 %4 kbits/s - - + + call_stats_loss_rate_label "Taux de perte: %1% %2%" Taux de perte: %1% %2% - + call_stats_jitter_buffer_label "Tampon de gigue: %1 ms" Tampon de gigue: %1 ms - + call_stats_resolution_label "Définition vidéo : %1 %2 %3 %4" Définition vidéo : %1 %2 %3 %4 - + call_stats_fps_label "FPS : %1 %2 %3 %4" FPS : %1 %2 %3 %4 - + media_encryption_dtls DTLS DTLS - + media_encryption_none None None - + media_encryption_srtp SRTP SRTP - + media_encryption_post_quantum "ZRTP - Post quantique" ZRTP - Post quantique diff --git a/Linphone/model/call/CallModel.cpp b/Linphone/model/call/CallModel.cpp index 5577150bd..c162cf220 100644 --- a/Linphone/model/call/CallModel.cpp +++ b/Linphone/model/call/CallModel.cpp @@ -407,7 +407,6 @@ void CallModel::onInfoMessageReceived(const std::shared_ptr &cal void CallModel::onStateChanged(const std::shared_ptr &call, linphone::Call::State state, const std::string &message) { - lDebug() << "CallModel::onStateChanged" << (int)state; if (state == linphone::Call::State::StreamsRunning) { setConference(call->getConference()); mDurationTimer.start(); diff --git a/Linphone/view/Control/Display/Chat/ChatMessageContent.qml b/Linphone/view/Control/Display/Chat/ChatMessageContent.qml index 4cedc1b84..eb130443e 100644 --- a/Linphone/view/Control/Display/Chat/ChatMessageContent.qml +++ b/Linphone/view/Control/Display/Chat/ChatMessageContent.qml @@ -11,6 +11,7 @@ import Linphone ColumnLayout { id: mainItem property ChatMessageGui chatMessageGui: null + property bool isRemoteMessage: chatMessageGui? chatMessageGui.core.isRemoteMessage : false property ChatGui chatGui: null signal isFileHoveringChanged(bool isFileHovering) @@ -28,7 +29,7 @@ ColumnLayout { spacing: Math.round(5 * DefaultStyle.dp) property int padding: Math.round(10 * DefaultStyle.dp) - + // VOICE MESSAGES Repeater { id: messagesVoicesList @@ -97,6 +98,7 @@ ColumnLayout { } delegate: ChatTextContent { Layout.fillWidth: true + horizontalAlignment: mainItem.isRemoteMessage || implicitWidth > mainItem.width ? TextEdit.AlignLeft : TextEdit.AlignRight // height: implicitHeight contentGui: modelData chatGui: mainItem.chatGui