Package io.github.ma1uta.matrix.event
Class Dummy
- java.lang.Object
-
- io.github.ma1uta.matrix.event.Event<DummyContent>
-
- io.github.ma1uta.matrix.event.Dummy
-
public class Dummy extends Event<DummyContent>
This event type is used to indicate new Olm sessions for end-to-end encryption. Typically it is encrypted as an m.room.encrypted event, then sent as a to-device event. The event does not have any content associated with it. The sending client is expected to send a key share request shortly after this message, causing the receiving client to process this m.dummy event as the most recent event and using the keyshare request to set up the session. The keyshare request and m.dummy combination should result in the original sending client receiving keys over the newly established session.
-
-
Constructor Summary
Constructors Constructor Description Dummy()
-
-
-
Field Detail
-
TYPE
public static final String TYPE
Event type.- See Also:
- Constant Field Values
-
-
Method Detail
-
getType
public String getType()
Description copied from class:Event
Required. The type of event. This SHOULD be namespaced similar to Java package naming conventions e.g. 'com.example.subdomain.event.type'.- Specified by:
getType
in classEvent<DummyContent>
- Returns:
- The type of the event.
-
-