diff options
author | Sébastien Helleu <flashcode@flashtux.org> | 2024-04-04 23:24:36 +0200 |
---|---|---|
committer | Sébastien Helleu <flashcode@flashtux.org> | 2024-04-07 13:18:14 +0200 |
commit | a499b50b7b70151b9088f8641152681b79dcc885 (patch) | |
tree | 43a34534bd613fc07d4eb11f07f248d46450a745 /src/plugins/relay/relay-remote.h | |
parent | b6647004a5ee91fc38829b35e0afb1cdd61867e3 (diff) | |
download | weechat-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.h | 1 |
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 */ }; |