Support creating polls in RepliesSection.

This commit is contained in:
John Preston
2020-11-10 20:54:43 +03:00
parent a8564b166b
commit 10adbecb9c
7 changed files with 28 additions and 9 deletions
@@ -128,6 +128,10 @@ public:
virtual bool replyToMessage(not_null<HistoryItem*> item) {
return false;
}
[[nodiscard]] virtual MsgId currentReplyToIdFor(
not_null<History*> history) const {
return 0;
}
// Create a memento of that section to store it in the history stack.
// This method may modify the section ("take" heavy items).