mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-05 06:33:57 +02:00
Version 3.4.1: Fix build with GCC.
This commit is contained in:
parent
da8db0157f
commit
67319c1612
1 changed files with 0 additions and 15 deletions
|
@ -179,21 +179,6 @@ struct State {
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
[[nodiscard]] bool ListUnknown(
|
|
||||||
const std::vector<PeerId> &list,
|
|
||||||
not_null<HistoryItem*> item) {
|
|
||||||
return (list.size() == 1)
|
|
||||||
&& (list.front() == item->history()->session().userPeerId());
|
|
||||||
}
|
|
||||||
|
|
||||||
[[nodiscard]] bool ListUnknown(
|
|
||||||
const std::vector<PeerWithReaction> &list,
|
|
||||||
not_null<HistoryItem*> item) {
|
|
||||||
return (list.size() == 1)
|
|
||||||
&& list.front().reaction.isEmpty()
|
|
||||||
&& (list.front().peer == item->history()->session().userPeerId());
|
|
||||||
}
|
|
||||||
|
|
||||||
[[nodiscard]] Ui::WhoReadType DetectSeenType(not_null<HistoryItem*> item) {
|
[[nodiscard]] Ui::WhoReadType DetectSeenType(not_null<HistoryItem*> item) {
|
||||||
if (const auto media = item->media()) {
|
if (const auto media = item->media()) {
|
||||||
if (!media->webpage()) {
|
if (!media->webpage()) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue