Class DirectContent

  • All Implemented Interfaces:
    EventContent, Serializable, Cloneable, Map<String,​List<String>>

    public class DirectContent
    extends HashMap<String,​List<String>>
    implements EventContent
    A map of which rooms are considered 'direct' rooms for specific users is kept in account_data in an event of type m.direct. The content of this event is an object where the keys are the user IDs and values are lists of room ID strings of the 'direct' rooms for that user ID.

    Map USER_ID -> ROOM_ID

    See Also:
    Serialized Form
    • Constructor Detail

      • DirectContent

        public DirectContent()