mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-09-02 23:55:12 +00:00
OrderedSet class done using QMap as implementation,
instead of inheriting it, fixed replies delete code.
This commit is contained in:
@@ -6090,7 +6090,11 @@ void HistoryMessageReply::resize(int width) const {
|
||||
|
||||
void HistoryMessageReply::itemRemoved(HistoryMessage *holder, HistoryItem *removed) {
|
||||
if (replyToMsg == removed) {
|
||||
clearData(holder);
|
||||
delete _replyToVia;
|
||||
_replyToVia = nullptr;
|
||||
|
||||
replyToMsg = nullptr;
|
||||
replyToMsgId = 0;
|
||||
holder->setPendingInitDimensions();
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user