fixed problematic re-numbering of status flags (non-backward compatible)

This commit is contained in:
csoler 2025-10-13 22:49:15 +02:00
parent ed08009414
commit daaa7985a3
3 changed files with 3 additions and 3 deletions

View file

@ -347,7 +347,7 @@ RsStatusValue ChatDialog::getPeerStatus()
return cw->getPeerStatus(); return cw->getPeerStatus();
} }
return RsStatusValue::RS_STATUS_UNKNOWN; return RsStatusValue::RS_STATUS_OFFLINE;
} }
QString ChatDialog::getTitle() QString ChatDialog::getTitle()

View file

@ -77,7 +77,7 @@
ChatWidget::ChatWidget(QWidget *parent) ChatWidget::ChatWidget(QWidget *parent)
: QWidget(parent) : QWidget(parent)
, completionPosition(0), newMessages(false), typing(false), peerStatus(RsStatusValue::RS_STATUS_UNKNOWN) , completionPosition(0), newMessages(false), typing(false), peerStatus(RsStatusValue::RS_STATUS_OFFLINE)
, sendingBlocked(false), useCMark(false) , sendingBlocked(false), useCMark(false)
, lastStatusSendTime(0) , lastStatusSendTime(0)
, firstShow(true), inChatCharFormatChanged(false), firstSearch(true) , firstShow(true), inChatCharFormatChanged(false), firstSearch(true)

View file

@ -213,7 +213,7 @@ void AvatarWidget::refreshStatus()
} }
case STATUS_FRAME: case STATUS_FRAME:
{ {
RsStatusValue status = RsStatusValue::RS_STATUS_UNKNOWN; RsStatusValue status = RsStatusValue::RS_STATUS_OFFLINE;
if (mId.isNotSet()) if (mId.isNotSet())
return; return;