Anyway to prioritize the 'hangup' button?

We’re using jitsi in an iFrame, trying to keep it as small as we can. We can get it to where there are 4 buttons: Mute audio, Mute Video, More Options, Hang up. But we want to include Chat (preferably in the menu). But when we add chat, we lose the HangUp button completely and it’s not on the menu. Is this a toolbar button itself? Is there a way to keep it on the toolbar and let chat be on the menu?

Currently there is no way to do that.

It’s open source, though, shouldn’t there be a way to edit/build the code?

Yep! [How to] How to build Jitsi Meet from source: A developer’s guide