Add separator above volume control in voice chats.

This commit is contained in:
John Preston 2021-06-24 15:57:19 +04:00
parent feb8624d05
commit 8a6ff3f414

View file

@ -1494,6 +1494,10 @@ void Members::Controller::addMuteActionsToContextMenu(
} }
}, volumeItem->lifetime()); }, volumeItem->lifetime());
if (!menu->empty()) {
menu->addSeparator();
}
menu->addAction(std::move(volumeItem)); menu->addAction(std::move(volumeItem));
if (!isMe(participantPeer)) { if (!isMe(participantPeer)) {