| 147 | } |
| 148 | |
| 149 | PeerData *Key::giftsPeer() const { |
| 150 | if (const auto tag = std::get_if<PeerGifts::Tag>(&_value)) { |
| 151 | return tag->peer; |
| 152 | } |
| 153 | return nullptr; |
| 154 | } |
| 155 | |
| 156 | int Key::giftsCollectionId() const { |
| 157 | if (const auto tag = std::get_if<PeerGifts::Tag>(&_value)) { |
no outgoing calls
no test coverage detected