mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 06:35:14 +00:00
pin/unpin messages in supergroups, local hide for pinned messages
This commit is contained in:
@@ -1510,7 +1510,6 @@ void MainWidget::changingMsgId(HistoryItem *row, MsgId newId) {
|
||||
}
|
||||
|
||||
void MainWidget::itemRemoved(HistoryItem *item) {
|
||||
api()->itemRemoved(item);
|
||||
dialogs.itemRemoved(item);
|
||||
if (history.peer() == item->history()->peer || (history.peer() && history.peer() == item->history()->peer->migrateTo())) {
|
||||
history.itemRemoved(item);
|
||||
@@ -2056,8 +2055,8 @@ ApiWrap *MainWidget::api() {
|
||||
return _api;
|
||||
}
|
||||
|
||||
void MainWidget::updateDependencyItem() {
|
||||
history.updateReplyEditTexts(true);
|
||||
void MainWidget::messageDataReceived(ChannelData *channel, MsgId msgId) {
|
||||
history.messageDataReceived(channel, msgId);
|
||||
}
|
||||
|
||||
void MainWidget::updateBotKeyboard(History *h) {
|
||||
|
Reference in New Issue
Block a user