room: Remove derived Eq on Session

Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
This commit is contained in:
Maxime “pep” Buquet 2022-11-30 17:26:54 +01:00
parent 1ada7f8bf4
commit 2b6a151f7e
Signed by: pep
GPG key ID: DEDA74AEECA9D0F2

View file

@ -384,7 +384,7 @@ impl Room {
}
/// An occupant session
#[derive(Debug, Clone, Eq)]
#[derive(Debug, Clone)]
pub struct Session {
pub presence: Presence,
pub real: FullJid,
@ -445,7 +445,7 @@ impl TryFrom<Presence> for Session {
}
/// An occupant in a room. May contain multiple sessions (Multi-Session Nicks)
#[derive(Debug, Clone, PartialEq, Eq)]
#[derive(Debug, Clone, PartialEq)]
pub struct Occupant {
/// Public Jid for the Occupant
pub real: BareJid,