Audio notification

hi,

I would like to have an audio notification when a new message is received in a MUC. Where should I implement this function ? In the packetListener or there is another class to help me do this ?

Thanks

Look at MultiUserChat.addMessageListener(PacketListener). The docs say a PacketListener added using this method will only receive messages of type ‘‘groupchat’’ addressed to that group, which should be what you need.