Browse Source

Fix an issue related to the subjects in Chats, MUC messages were handled as one to one messages

pull/704/merge
Timothée Jaussoin 7 years ago
parent
commit
9039f850b0
  1. 3
      app/widgets/Chats/Chats.php

3
app/widgets/Chats/Chats.php

@ -24,7 +24,8 @@ class Chats extends \Movim\Widget\Base
{
$message = $packet->content;
if ($message->type != 'groupchat') {
if ($message->type != 'groupchat'
&& $message->type != 'subject') {
// If the message is from me
if ($message->user_id == $message->jidto) {
$from = $message->jidfrom;

Loading…
Cancel
Save