mirror of
https://github.com/openvk/openvk
synced 2024-12-22 16:42:32 +03:00
Explicitly forbid posts made by clubs be a deactivation message
This commit is contained in:
parent
d33a8f5c1d
commit
bf1a443c99
1 changed files with 1 additions and 1 deletions
|
@ -96,7 +96,7 @@ class Post extends Postable
|
|||
|
||||
function isDeactivationMessage(): bool
|
||||
{
|
||||
return ($this->getRecord()->flags & 0b00100000) > 0;
|
||||
return (($this->getRecord()->flags & 0b00100000) > 0) && ($this->getRecord()->owner > 0);
|
||||
}
|
||||
|
||||
function isExplicit(): bool
|
||||
|
|
Loading…
Reference in a new issue