Browse Source

Also notify for Chat headlines

pull/978/head
Timothée Jaussoin 5 years ago
parent
commit
7680767689
  1. 2
      app/User.php

2
app/User.php

@ -53,7 +53,7 @@ class User extends Model
->where('seen', false)
->where('jidfrom', '!=', $this->id)
->where(function ($query) use ($quoted) {
$query->where('type', 'chat')
$query->whereIn('type', ['chat', 'headline'])
->orWhere(function ($query) use ($quoted) {
$query->where('type', 'groupchat')
->whereNull('subject');

Loading…
Cancel
Save