Implement Event::RoomSubject for room subject changes/retrieve
This commit is contained in:
parent
51f2462772
commit
4f8ce0a953
2 changed files with 10 additions and 0 deletions
|
|
@ -24,6 +24,11 @@ pub enum Event {
|
|||
RoomJoined(BareJid),
|
||||
RoomLeft(BareJid),
|
||||
RoomMessage(Id, BareJid, RoomNick, Body),
|
||||
/// The subject of a room was received.
|
||||
/// - The BareJid is the room's address.
|
||||
/// - The RoomNick is the nickname of the room member who set the subject.
|
||||
/// - The String is the new subject.
|
||||
RoomSubject(BareJid, Option<RoomNick>, String),
|
||||
/// A private message received from a room, containing the message ID, the room's BareJid,
|
||||
/// the sender's nickname, and the message body.
|
||||
RoomPrivateMessage(Id, BareJid, RoomNick, Body),
|
||||
|
|
|
|||
Loading…
Reference in a new issue