mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-30 22:25:12 +00:00
metalang tags gen fixed, links parsing in rich text fixed, custom keyboard hiding saved in history
This commit is contained in:
@@ -2411,7 +2411,7 @@ void MainWidget::showMediaOverview(PeerData *peer, MediaOverviewType type, bool
|
||||
_peerInStack = history.peer();
|
||||
_msgIdInStack = history.msgId();
|
||||
dlgUpdated();
|
||||
_stack.push_back(new StackItemHistory(_peerInStack, _msgIdInStack, history.replyReturns(), history.kbWasHidden()));
|
||||
_stack.push_back(new StackItemHistory(_peerInStack, _msgIdInStack, history.replyReturns()));
|
||||
}
|
||||
}
|
||||
if (overview) {
|
||||
@@ -2467,7 +2467,7 @@ void MainWidget::showPeerProfile(PeerData *peer, bool back, int32 lastScrollTop)
|
||||
_peerInStack = history.peer();
|
||||
_msgIdInStack = history.msgId();
|
||||
dlgUpdated();
|
||||
_stack.push_back(new StackItemHistory(_peerInStack, _msgIdInStack, history.replyReturns(), history.kbWasHidden()));
|
||||
_stack.push_back(new StackItemHistory(_peerInStack, _msgIdInStack, history.replyReturns()));
|
||||
}
|
||||
}
|
||||
if (overview) {
|
||||
@@ -2521,7 +2521,6 @@ void MainWidget::showBackFromStack() {
|
||||
StackItemHistory *histItem = static_cast<StackItemHistory*>(item);
|
||||
showPeerHistory(histItem->peer->id, App::main()->activeMsgId(), true);
|
||||
history.setReplyReturns(histItem->peer->id, histItem->replyReturns);
|
||||
if (histItem->kbWasHidden) history.setKbWasHidden();
|
||||
} else if (item->type() == ProfileStackItem) {
|
||||
StackItemProfile *profItem = static_cast<StackItemProfile*>(item);
|
||||
showPeerProfile(profItem->peer, true, profItem->lastScrollTop);
|
||||
|
Reference in New Issue
Block a user