Track stories deletion and refresh views.

This commit is contained in:
John Preston
2023-06-30 11:48:18 +04:00
parent 1d5b57c39c
commit 074a4e3c92
6 changed files with 64 additions and 6 deletions
+9
View File
@@ -194,4 +194,13 @@ struct hash<MsgId> : private hash<int64> {
}
};
template <>
struct hash<FullStoryId> {
size_t operator()(FullStoryId value) const {
return QtPrivate::QHashCombine().operator()(
std::hash<BareId>()(value.peer.value),
value.story);
}
};
} // namespace std