mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-12-16 17:13:58 -05:00
fixed problematic re-numbering of status flags (non-backward compatible)
This commit is contained in:
parent
ed08009414
commit
daaa7985a3
3 changed files with 3 additions and 3 deletions
|
|
@ -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()
|
||||||
|
|
|
||||||
|
|
@ -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)
|
||||||
|
|
|
||||||
|
|
@ -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;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue