aboutsummaryrefslogtreecommitdiff
path: root/weechat/net.h
diff options
context:
space:
mode:
authorTom Smeding <tom.smeding@gmail.com>2020-07-30 20:45:54 +0200
committerTom Smeding <tom.smeding@gmail.com>2020-07-30 20:45:54 +0200
commit6244f4a65aa391cae85bfc6930589ba7feaa536e (patch)
treed73c2a136bcfd124e8051eb09268af8fedfdbd3b /weechat/net.h
parentdd40033d6d6358da8d065db04b3bfbcd834202ff (diff)
parent79c8ffd915115728070339f30d57a3a3e31bd322 (diff)
Merge branch 'version2'
Diffstat (limited to 'weechat/net.h')
-rw-r--r--weechat/net.h6
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 {