mirror of
https://github.com/weechat/weechat.git
synced 2026-07-07 18:45:42 +02:00
relay/api: close obsolete buffers when reconnecting to the remote
This closes all buffers that exist locally but not on the remote any more, after reconnecting to the remote.
This commit is contained in:
+2
-1
@@ -62,7 +62,8 @@
|
||||
- relay/api: fix timezone of dates sent to clients ([#2151](https://github.com/weechat/weechat/issues/2151))
|
||||
- relay/api: clear lines and nicklist on all remote buffers upon successful connection to the remote ([#2161](https://github.com/weechat/weechat/issues/2161))
|
||||
- relay/api: fix buffers synchronization with existing buffers that have been renamed on remote in the meanwhile ([#2169](https://github.com/weechat/weechat/issues/2169))
|
||||
- relay/api: do not reset input text on existing buffers when reconnecting to remote
|
||||
- relay/api: do not reset input text on existing buffers when reconnecting to the remote
|
||||
- relay/api: close obsolete buffers when reconnecting to the remote
|
||||
- relay/api: fix "body_type" returned when lines or nicks of a buffer are requested
|
||||
- relay/api: fix read of one buffer line
|
||||
- relay: fix websocket permessage-deflate extension when the client doesn't send the max window bits parameters ([#1549](https://github.com/weechat/weechat/issues/1549))
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -20,6 +20,8 @@
|
||||
#ifndef WEECHAT_PLUGIN_RELAY_REMOTE_EVENT_H
|
||||
#define WEECHAT_PLUGIN_RELAY_REMOTE_EVENT_H
|
||||
|
||||
#define RELAY_REMOTE_EVENT_ID_INITIAL_SYNC "initial_sync"
|
||||
|
||||
#define RELAY_REMOTE_EVENT_CALLBACK(__body_type) \
|
||||
int \
|
||||
relay_remote_event_cb_##__body_type ( \
|
||||
|
||||
@@ -185,6 +185,16 @@ TEST(RelayRemoteEvent, RemoveLocalVarCb)
|
||||
/* TODO: write tests */
|
||||
}
|
||||
|
||||
/*
|
||||
* Tests functions:
|
||||
* relay_remote_event_initial_sync_buffers
|
||||
*/
|
||||
|
||||
TEST(RelayRemoteEvent, InitialSyncBuffers)
|
||||
{
|
||||
/* TODO: write tests */
|
||||
}
|
||||
|
||||
/*
|
||||
* Tests functions:
|
||||
* relay_remote_event_cb_buffer
|
||||
|
||||
Reference in New Issue
Block a user