1 parent
516d6d1d34
commit
b54b9959cf
3 files changed
+16
-2
No files matched your search
@@ -42,4 +42,12 @@ class User extends Authenticatable
|
||||
$arrayHash = str_split(strtolower(md5($this->id)));
|
||||
return sprintf('%s/%s', $arrayHash[0], $arrayHash[1]);
|
||||
}
|
||||
|
||||
/**
|
||||
* @return bool
|
||||
*/
|
||||
public function isE2E()
|
||||
{
|
||||
return (bool) $this->encrypt_messages;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user