From cba681a96750f4399a4f881f6a9a92f47b2ed493 Mon Sep 17 00:00:00 2001 From: Florian Schmaus Date: Tue, 30 Dec 2014 12:10:12 +0100 Subject: [PATCH] Add MultiUserChat.toString() --- .../main/java/org/jivesoftware/smackx/muc/MultiUserChat.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/smack-extensions/src/main/java/org/jivesoftware/smackx/muc/MultiUserChat.java b/smack-extensions/src/main/java/org/jivesoftware/smackx/muc/MultiUserChat.java index a02914d08..3feff0269 100644 --- a/smack-extensions/src/main/java/org/jivesoftware/smackx/muc/MultiUserChat.java +++ b/smack-extensions/src/main/java/org/jivesoftware/smackx/muc/MultiUserChat.java @@ -2091,4 +2091,9 @@ public class MultiUserChat { } } } + + @Override + public String toString() { + return "MUC: " + room + "(" + connection.getUser() + ")"; + } }