Skip to content

Add better checks when the pack is omitted from im.ponies.room_emotes

Joshua Goins requested to merge work/redstrate/fix-pack-content-bug into master

This field is omittable, and I hit it this morning when entering the VDG room 😄 Let's check if it's filled before using it.

We could also write it like:

if(const auto packContent = pack->content(); packContent.has_value()) {

But I'm not sure what is preferred

Merge request reports