mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 06:26:18 +00:00
merged with master fix of report spam button
This commit is contained in:
@@ -1372,6 +1372,7 @@ void MainWidget::itemResized(HistoryItem *row, bool scrollToIt) {
|
||||
if (overview) {
|
||||
overview->itemResized(row, scrollToIt);
|
||||
}
|
||||
if (row) msgUpdated(row->history()->peer->id, row);
|
||||
}
|
||||
|
||||
bool MainWidget::overviewFailed(PeerData *peer, const RPCError &error, mtpRequestId req) {
|
||||
@@ -2107,6 +2108,14 @@ void MainWidget::contactsReceived() {
|
||||
history.contactsReceived();
|
||||
}
|
||||
|
||||
void MainWidget::updateAfterDrag() {
|
||||
if (overview) {
|
||||
overview->updateAfterDrag();
|
||||
} else {
|
||||
history.updateAfterDrag();
|
||||
}
|
||||
}
|
||||
|
||||
void MainWidget::showPeerHistory(quint64 peerId, qint32 showAtMsgId, bool back) {
|
||||
if (!back && (!peerId || (_stack.size() == 1 && _stack[0]->type() == HistoryStackItem && _stack[0]->peer->id == peerId))) {
|
||||
back = true;
|
||||
@@ -4120,6 +4129,7 @@ void MainWidget::feedUpdate(const MTPUpdate &update) {
|
||||
if (ChannelData *channel = App::channelLoaded(d.vchannel_id.v)) {
|
||||
if (d.vgroup.type() == mtpc_messageGroup) {
|
||||
const MTPDmessageGroup &data(d.vgroup.c_messageGroup());
|
||||
// CHANNELS_FULL
|
||||
}
|
||||
}
|
||||
} break;
|
||||
|
Reference in New Issue
Block a user