diff options
author | Michael Vetter <jubalh@iodoru.org> | 2020-04-11 17:11:53 +0200 |
---|---|---|
committer | Michael Vetter <jubalh@iodoru.org> | 2020-04-11 17:11:53 +0200 |
commit | 180ec2b474b39de0b22964adbfc5e13bc3d2c791 (patch) | |
tree | e85e0c219b81189a9fbeb39b2c58881e0939d3d9 /src/xmpp/xmpp.h | |
parent | e23bc3808350a4fbf6086bde71108c56e2b1c69f (diff) | |
download | profani-tty-180ec2b474b39de0b22964adbfc5e13bc3d2c791.tar.gz |
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 ;-)
Diffstat (limited to 'src/xmpp/xmpp.h')
-rw-r--r-- | src/xmpp/xmpp.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/xmpp/xmpp.h b/src/xmpp/xmpp.h index 7544189b..3f384fb7 100644 --- a/src/xmpp/xmpp.h +++ b/src/xmpp/xmpp.h @@ -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 */ |