Browse Source

Consistent colors between the chatrooms if the nickname is the same

pull/477/head
Timothée Jaussoin 8 years ago
parent
commit
7bf96b1496
  1. 2
      app/widgets/Chat/Chat.php

2
app/widgets/Chat/Chat.php

@ -742,7 +742,7 @@ class Chat extends \Movim\Widget\Base
}
if ($message->type == 'groupchat') {
$message->color = stringToColor($message->session . $message->resource . $message->jidfrom . $message->type);
$message->color = stringToColor($message->session . $message->resource . $message->type);
$cd = new \Modl\ContactDAO;
$contact = $cd->getPresence($message->jidfrom, $message->resource);

Loading…
Cancel
Save