| 784 | } |
| 785 | |
| 786 | bool WhoReactedExists( |
| 787 | not_null<HistoryItem*> item, |
| 788 | WhoReactedList list) { |
| 789 | if (item->canViewReactions() || WhoReadExists(item)) { |
| 790 | return true; |
| 791 | } |
| 792 | return (list == WhoReactedList::One) && item->history()->peer->isUser(); |
| 793 | } |
| 794 | |
| 795 | rpl::producer<Ui::WhoReadContent> WhoReacted( |
| 796 | not_null<HistoryItem*> item, |
no test coverage detected