Category "ejabberd"

MUC, XMPP - Unread messages counter, last message

Is it possible without joining to the room to get: the number of unread messages from MUC? I have seen similar questions ~7 years ago but still didn't find such

Multi chat - determine which user saw the message (ejabberd)

I'm pretty new with ejabberd and I have two questions. What is the best approach to check which user seen a message or to see where the user stopped reading? D

How to validate day and time in Erlang?

How do I validate today is business day and also current time is in between two time? I tried below code but I can only check after or before time. is_past_15()

List all xmpp chat rooms with their subject names and last message

From the doc XEP-00300, I know I can list all rooms from for the user but is it possible to get filtered chat rooms by some metadata? Scenario: As a user I want