From 82a26d7d085ff8251fd0610a3e5025503e85c545 Mon Sep 17 00:00:00 2001 From: lumi Date: Sun, 19 Feb 2017 15:06:14 +0100 Subject: [PATCH] add Client::jid --- src/client.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/client.rs b/src/client.rs index 9cb5a7a..7a26ca6 100644 --- a/src/client.rs +++ b/src/client.rs @@ -43,4 +43,7 @@ pub struct Client { } impl Client { + pub fn jid(&self) -> &Jid { + &self.jid + } }