mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 22:55:11 +00:00
improved bad_msg_notification handle and local time shifts
This commit is contained in:
@@ -756,7 +756,10 @@ void MainWidget::showPeer(const PeerId &peerId, MsgId msgId, bool back, bool for
|
||||
history.showPeer(peerId, msgId, force);
|
||||
if (force || !selectingPeer()) {
|
||||
if (profile) {
|
||||
if (profile) profile->deleteLater();
|
||||
if (profile) {
|
||||
profile->deleteLater();
|
||||
profile->rpcInvalidate();
|
||||
}
|
||||
profile = 0;
|
||||
profileStack.clear();
|
||||
if (!history.peer() || !history.peer()->id) {
|
||||
@@ -811,7 +814,10 @@ void MainWidget::showPeerProfile(const PeerData *peer, bool back) {
|
||||
profileStack.push_back(history.peer());
|
||||
}
|
||||
}
|
||||
if (profile) profile->deleteLater();
|
||||
if (profile) {
|
||||
profile->deleteLater();
|
||||
profile->rpcInvalidate();
|
||||
}
|
||||
profile = new ProfileWidget(this, peer);
|
||||
_topBar.show();
|
||||
resizeEvent(0);
|
||||
|
Reference in New Issue
Block a user