feat: Add stbbr_for_presence_to for MUC join presence matching

- Add prime_for_presence_to() and prime_get_for_presence_to() in prime.c
- Add presence_to_callback() in server.c to handle MUC join presence
- Export stbbr_for_presence_to() in stabber.h
- Add stanzas_debug_last() for debugging failed verifications
This commit is contained in:
2025-12-06 15:06:02 +03:00
parent d09adad0e1
commit fdb615a213
10 changed files with 105 additions and 0 deletions

View File

@@ -37,4 +37,7 @@ char* prime_get_for_id(const char *id);
int prime_for_query(const char *query, char *stream);
XMPPStanza* prime_get_for_query(const char *query);
int prime_for_presence_to(const char *to_jid, char *stream);
XMPPStanza* prime_get_for_presence_to(const char *to_jid);
#endif