mirror of
https://gitlab.linphone.org/BC/public/linphone-desktop.git
synced 2026-05-06 20:23:08 +00:00
Fix crash on sending a forward message on a new secure chat room.
This commit is contained in:
parent
4afcb32af6
commit
ae686db48c
2 changed files with 9 additions and 3 deletions
10
CHANGELOG.md
10
CHANGELOG.md
|
|
@ -6,16 +6,22 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||
|
||||
## 5.3.0 - undefined
|
||||
|
||||
### Added
|
||||
- Screen Sharing
|
||||
|
||||
## 5.2.2 - 2024-03-07
|
||||
|
||||
### Fixed
|
||||
- Day offset in start date when scheduling a conference.
|
||||
- Audio latency and bad echo behavior when going to media settings while being in call.
|
||||
- Network remote file in chat attachment on Windows.
|
||||
- Empty route can now be set in account settings.
|
||||
- Some crashs.
|
||||
- Network remote file can be used in chat attachment on Windows.
|
||||
- Crash on forwarding a message to a new secure chat room.
|
||||
- Update SDK to 5.3.26.
|
||||
|
||||
### Added
|
||||
- '[ui] logs_max_size' : option to set the max size of one log file.
|
||||
- Screen Sharing
|
||||
|
||||
## 5.2.1 - 2024-02-01
|
||||
|
||||
|
|
|
|||
|
|
@ -718,7 +718,7 @@ void ChatRoomModel::compose () {
|
|||
|
||||
void ChatRoomModel::resetMessageCount () {
|
||||
if(mChatRoom && !mDeleteChatRoom && markAsReadEnabled()){
|
||||
if( mChatRoom->getState() != linphone::ChatRoom::State::Deleted){
|
||||
if( mChatRoom->getState() != linphone::ChatRoom::State::Deleted && mChatRoom->getState() != linphone::ChatRoom::State::CreationPending){
|
||||
if (mChatRoom->getUnreadMessagesCount() > 0){
|
||||
mChatRoom->markAsRead();// Marking as read is only for messages. Not for calls.
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue