Add to_jid field to ProfMessage struct

Is usefult in many cases if we want cleaner code.
Hope this edit didn't break anything though ;-)
This commit is contained in:
Michael Vetter
2020-04-11 17:11:53 +02:00
parent e23bc38083
commit 180ec2b474
9 changed files with 103 additions and 91 deletions

View File

@@ -137,7 +137,8 @@ typedef enum {
} prof_msg_type_t;
typedef struct prof_message_t {
Jid *jid;
Jid *from_jid;
Jid *to_jid;
/* regular <message id=""> */
char *id;
/* </origin-id> XEP-0359 */