mirror of
https://gitlab.linphone.org/BC/public/linphone-desktop.git
synced 2026-05-07 14:44:01 +00:00
- Update to master SDK
- Use Opus fix
This commit is contained in:
parent
093261d432
commit
4d6a854e00
5 changed files with 10 additions and 7 deletions
|
|
@ -139,7 +139,7 @@ job-debian9-makefile-clang-deploy:
|
|||
- $NIGHTLY_MASTER
|
||||
- $DEPLOY_LINUX
|
||||
script:
|
||||
- rsync -rlv --ignore-existing build/OUTPUT/Packages/*.AppImage $DEPLOY_SERVER:APPIMAGE_UPLOAD_DIRECTORY/
|
||||
- rsync -rlv --ignore-existing build/OUTPUT/Packages/*.AppImage $DEPLOY_SERVER:$APPIMAGE_UPLOAD_DIRECTORY/
|
||||
|
||||
#################################################
|
||||
# Debug
|
||||
|
|
|
|||
|
|
@ -114,4 +114,4 @@ job-macosx-makefile-deploy:
|
|||
- $NIGHTLY_MASTER
|
||||
- $DEPLOY_MACOSX
|
||||
script:
|
||||
- rsync -rlv --ignore-existing build/OUTPUT/Packages/Linphone*.dmg $DEPLOY_SERVER:MACOSX_UPLOAD_DIRECTORY
|
||||
- rsync -rlv --ignore-existing build/OUTPUT/Packages/Linphone*.dmg $DEPLOY_SERVER:$MACOSX_UPLOAD_DIRECTORY
|
||||
|
|
|
|||
|
|
@ -493,7 +493,7 @@ void ChatModel::sendMessage (const QString &message) {
|
|||
_message->addListener(mMessageHandlers);
|
||||
|
||||
insertMessageAtEnd(_message);
|
||||
mChatRoom->sendChatMessage(_message);
|
||||
_message->send();
|
||||
|
||||
emit messageSent(_message);
|
||||
}
|
||||
|
|
@ -518,7 +518,7 @@ void ChatModel::resendMessage (int id) {
|
|||
shared_ptr<linphone::ChatMessage> message = static_pointer_cast<linphone::ChatMessage>(entry.second);
|
||||
message->removeListener(mMessageHandlers);// Remove old listener if already exists
|
||||
message->addListener(mMessageHandlers);
|
||||
message->resend();
|
||||
message->send();
|
||||
|
||||
break;
|
||||
}
|
||||
|
|
@ -559,7 +559,7 @@ void ChatModel::sendFileMessage (const QString &path) {
|
|||
createThumbnail(message);
|
||||
|
||||
insertMessageAtEnd(message);
|
||||
mChatRoom->sendChatMessage(message);
|
||||
message->send();
|
||||
|
||||
emit messageSent(message);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -46,6 +46,8 @@
|
|||
#include "CoreHandlers.hpp"
|
||||
#include "CoreManager.hpp"
|
||||
|
||||
#include <linphone/core.h>
|
||||
|
||||
// =============================================================================
|
||||
|
||||
using namespace std;
|
||||
|
|
@ -212,7 +214,8 @@ void CoreManager::setDatabasesPaths () {
|
|||
SET_DATABASE_PATH(Friends, Paths::getFriendsListFilePath());
|
||||
SET_DATABASE_PATH(CallLogs, Paths::getCallHistoryFilePath());
|
||||
if(QFile::exists(Utils::coreStringToAppString(Paths::getMessageHistoryFilePath()))){
|
||||
SET_DATABASE_PATH(Chat, Paths::getMessageHistoryFilePath());// Setting the message database let SDK to migrate data
|
||||
linphone_core_set_chat_database_path(mCore->cPtr(), Paths::getMessageHistoryFilePath().c_str());
|
||||
//SET_DATABASE_PATH(Chat, Paths::getMessageHistoryFilePath());// Setting the message database let SDK to migrate data
|
||||
QFile::remove(Utils::coreStringToAppString(Paths::getMessageHistoryFilePath()));
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
Subproject commit 459611cfda0186c2d9d1d5d54e7f4b0959ca6d18
|
||||
Subproject commit 7bb4e40eaf62ec8f6b400370610833b96729a6e9
|
||||
Loading…
Add table
Reference in a new issue