mirror of
https://github.com/chatmail/core.git
synced 2026-04-19 14:36:29 +03:00
docs: update documentation for TransportsModified event
It is a follow-up to https://github.com/chatmail/core/pull/7643 Event is not emitted when the transports are modified on this device and we should consistently say that this event is not only for testing.
This commit is contained in:
@@ -419,11 +419,11 @@ pub enum EventType {
|
||||
|
||||
/// One or more transports has changed.
|
||||
///
|
||||
/// This event is used for tests to detect when transport
|
||||
/// synchronization messages arrives.
|
||||
/// UIs don't need to use it, it is unlikely
|
||||
/// that user modifies transports on multiple
|
||||
/// devices simultaneously.
|
||||
/// UI should update the list.
|
||||
///
|
||||
/// This event is emitted when transport
|
||||
/// synchronization messages arrives,
|
||||
/// but not when the UI modifies the transport list by itself.
|
||||
TransportsModified,
|
||||
|
||||
/// Event for using in tests, e.g. as a fence between normally generated events.
|
||||
|
||||
Reference in New Issue
Block a user