mirror of
https://git.jabber.space/devs/cproof.git
synced 2026-07-30 23:06:21 +00:00
message.c: Check for message type
RFC 6121 allows only few types. So we can also remove that check in _handle_chat().
This commit is contained in:
@@ -135,6 +135,7 @@
|
||||
#define STANZA_TYPE_CHAT "chat"
|
||||
#define STANZA_TYPE_GROUPCHAT "groupchat"
|
||||
#define STANZA_TYPE_HEADLINE "headline"
|
||||
#define STANZA_TYPE_NORMAL "normal"
|
||||
#define STANZA_TYPE_UNAVAILABLE "unavailable"
|
||||
#define STANZA_TYPE_SUBSCRIBE "subscribe"
|
||||
#define STANZA_TYPE_SUBSCRIBED "subscribed"
|
||||
|
||||
Reference in New Issue
Block a user