From 70913600f28e6afdeafc3e36222d7f94354a24af Mon Sep 17 00:00:00 2001
From: Gergely <gl90010@930940.no-reply.drupal.org>
Date: Fri, 2 Oct 2015 19:51:49 -0700
Subject: [PATCH] Fix error in username theme function.

---
 chatroom.module | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/chatroom.module b/chatroom.module
index c442dbb..0dbf124 100644
--- a/chatroom.module
+++ b/chatroom.module
@@ -860,7 +860,7 @@ function theme_chatroom_message_username($variables) {
   $output = '<span class="chatroom-message-username">';
   $info = array(
     'account' => $chat_user,
-    'name' => $chat_user->name,
+    'name' => format_username($chat_user),
     'extra' => '',
     'link_path' => 'user/' . $chat_user->uid,
     'link_options' => array(),
-- 
2.3.2 (Apple Git-55)

