summaryrefslogtreecommitdiff
path: root/src/plugins/relay/relay-remote.h
diff options
context:
space:
mode:
authorSébastien Helleu <flashcode@flashtux.org>2024-04-04 23:24:36 +0200
committerSébastien Helleu <flashcode@flashtux.org>2024-04-07 13:18:14 +0200
commita499b50b7b70151b9088f8641152681b79dcc885 (patch)
tree43a34534bd613fc07d4eb11f07f248d46450a745 /src/plugins/relay/relay-remote.h
parentb6647004a5ee91fc38829b35e0afb1cdd61867e3 (diff)
downloadweechat-a499b50b7b70151b9088f8641152681b79dcc885.zip
relay: add synchronization with remote and handler for events received (issue #2066)
Diffstat (limited to 'src/plugins/relay/relay-remote.h')
-rw-r--r--src/plugins/relay/relay-remote.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/relay/relay-remote.h b/src/plugins/relay/relay-remote.h
index 231e1e608..f7524d3fd 100644
--- a/src/plugins/relay/relay-remote.h
+++ b/src/plugins/relay/relay-remote.h
@@ -55,6 +55,7 @@ struct t_relay_remote
struct t_hook *hook_fd; /* hook for socket */
gnutls_session_t gnutls_sess; /* gnutls session (only if TLS used) */
struct t_relay_websocket_deflate *ws_deflate; /* websocket deflate data */
+ int synced; /* 1 if synced with remote */
struct t_relay_remote *prev_remote;/* link to previous remote */
struct t_relay_remote *next_remote;/* link to next remote */
};