mirror of
https://github.com/openvk/openvk
synced 2024-12-23 00:51:03 +03:00
Compare commits
2 commits
543c46696d
...
a3db17fc36
Author | SHA1 | Date | |
---|---|---|---|
|
a3db17fc36 | ||
|
866d6a8c45 |
3 changed files with 7 additions and 0 deletions
|
@ -57,6 +57,11 @@ final class MessengerPresenter extends OpenVKPresenter
|
|||
$correspondent = $this->getCorrespondent($sel);
|
||||
if(!$correspondent)
|
||||
$this->notFound();
|
||||
|
||||
if(!$this->user->identity->getPrivacyPermission('messages.write', $correspondent))
|
||||
{
|
||||
$this->flash("err", tr("warning"), tr("user_may_not_reply"));
|
||||
}
|
||||
|
||||
$this->template->selId = $sel;
|
||||
$this->template->correspondent = $correspondent;
|
||||
|
|
|
@ -1197,6 +1197,7 @@
|
|||
/* User alerts */
|
||||
|
||||
"user_alert_scam" = "This account has been reported a lot for scam. Please be careful, especially if he asked for money.";
|
||||
"user_may_not_reply" = "This user may not reply to you because of your privacy settings. <a href='/settings?act=privacy'>Open privacy settings</a>";
|
||||
|
||||
/* Cookies pop-up */
|
||||
|
||||
|
|
|
@ -1085,6 +1085,7 @@
|
|||
/* User alerts */
|
||||
|
||||
"user_alert_scam" = "На этот аккаунт много жаловались в связи с мошенничеством. Пожалуйста, будьте осторожны, особенно если у вас попросят денег.";
|
||||
"user_may_not_reply" = "Этот пользователь, возможно, вам не сможет ответить из-за ваших настроек приватности. <a href='/settings?act=privacy'>Открыть настройки приватности</a>";
|
||||
|
||||
/* Cookies pop-up */
|
||||
|
||||
|
|
Loading…
Reference in a new issue