room: Remove derived Eq on Session
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
This commit is contained in:
parent
1ada7f8bf4
commit
2b6a151f7e
1 changed files with 2 additions and 2 deletions
|
@ -384,7 +384,7 @@ impl Room {
|
||||||
}
|
}
|
||||||
|
|
||||||
/// An occupant session
|
/// An occupant session
|
||||||
#[derive(Debug, Clone, Eq)]
|
#[derive(Debug, Clone)]
|
||||||
pub struct Session {
|
pub struct Session {
|
||||||
pub presence: Presence,
|
pub presence: Presence,
|
||||||
pub real: FullJid,
|
pub real: FullJid,
|
||||||
|
@ -445,7 +445,7 @@ impl TryFrom<Presence> for Session {
|
||||||
}
|
}
|
||||||
|
|
||||||
/// An occupant in a room. May contain multiple sessions (Multi-Session Nicks)
|
/// An occupant in a room. May contain multiple sessions (Multi-Session Nicks)
|
||||||
#[derive(Debug, Clone, PartialEq, Eq)]
|
#[derive(Debug, Clone, PartialEq)]
|
||||||
pub struct Occupant {
|
pub struct Occupant {
|
||||||
/// Public Jid for the Occupant
|
/// Public Jid for the Occupant
|
||||||
pub real: BareJid,
|
pub real: BareJid,
|
||||||
|
|
Loading…
Reference in a new issue