mirror of
https://github.com/RetroShare/RetroShare.git
synced 2026-09-14 11:06:01 +05:00
fixed problematic re-numbering of status flags (non-backward compatible)
This commit is contained in:
parent
ed08009414
commit
daaa7985a3
@ -347,7 +347,7 @@ RsStatusValue ChatDialog::getPeerStatus()
|
||||
return cw->getPeerStatus();
|
||||
}
|
||||
|
||||
return RsStatusValue::RS_STATUS_UNKNOWN;
|
||||
return RsStatusValue::RS_STATUS_OFFLINE;
|
||||
}
|
||||
|
||||
QString ChatDialog::getTitle()
|
||||
|
||||
@ -77,7 +77,7 @@
|
||||
|
||||
ChatWidget::ChatWidget(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)
|
||||
, lastStatusSendTime(0)
|
||||
, firstShow(true), inChatCharFormatChanged(false), firstSearch(true)
|
||||
|
||||
@ -213,7 +213,7 @@ void AvatarWidget::refreshStatus()
|
||||
}
|
||||
case STATUS_FRAME:
|
||||
{
|
||||
RsStatusValue status = RsStatusValue::RS_STATUS_UNKNOWN;
|
||||
RsStatusValue status = RsStatusValue::RS_STATUS_OFFLINE;
|
||||
|
||||
if (mId.isNotSet())
|
||||
return;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user