mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2026-07-25 06:54:43 +00:00
Track stories deletion and refresh views.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user