From 0983e38e640d5168c31ddc6663057268afaefb4a Mon Sep 17 00:00:00 2001 From: tomsmeding Date: Sun, 16 Apr 2017 21:11:05 +0200 Subject: weechat: Don't beep on history messages --- weechat/net.h | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) (limited to 'weechat/net.h') diff --git a/weechat/net.h b/weechat/net.h index 335664c..6348a89 100644 --- a/weechat/net.h +++ b/weechat/net.h @@ -11,19 +11,13 @@ enum net_response_type{ NET_NAME, NET_LIST, NET_PONG, - NET_HISTORY, NET_MESSAGE, + NET_HISTORY, NET_JOIN, NET_INVITE, NET_ONLINE, }; -struct net_history_item{ - char *username; - i64 timestamp; - char *message; -}; - struct net_response{ enum net_response_type type; union { @@ -34,10 +28,6 @@ struct net_response{ int nitems; char **items; }; - struct { - int nhistory; - struct net_history_item *history; - }; struct { char *room; char *username; -- cgit v1.2.3-54-g00ecf