diff options
author | Tom Smeding <tom.smeding@gmail.com> | 2020-07-29 22:32:24 +0200 |
---|---|---|
committer | Tom Smeding <tom.smeding@gmail.com> | 2020-07-29 22:32:24 +0200 |
commit | b12ea9fb05e636213b35d46ddaec3e255e1a6992 (patch) | |
tree | ac0ed1f5c35cd3c99edf6b6eb9ad8d32a9ad6082 /weechat/net.h | |
parent | 0d07fa5da9f4c287410ce68d9d89da5c436fcc68 (diff) |
weechat: Protocol version 2, display replies
Diffstat (limited to 'weechat/net.h')
-rw-r--r-- | weechat/net.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/weechat/net.h b/weechat/net.h index 63636e7..4a61bca 100644 --- a/weechat/net.h +++ b/weechat/net.h @@ -17,8 +17,8 @@ enum net_response_type{ NET_NAME, // name NET_LIST, // nitems, items NET_PONG, // - - NET_MESSAGE, // room, username, timestamp, message - NET_HISTORY, // room, username, timestamp, message + NET_MESSAGE, // room, username, timestamp, msgid, replyid, message + NET_HISTORY, // room, username, timestamp, msgid, replyid, message NET_JOIN, // room, username NET_INVITE, // room, username NET_ONLINE, // online.username, online.num @@ -38,6 +38,8 @@ struct net_response{ char *room; char *username; i64 timestamp; + i64 msgid; + i64 replyid; char *message; }; struct { |