Move Notify::TYPE_POKE

This commit is contained in:
nupplaPhil
2020-02-04 22:15:33 +01:00
parent bee110dc0b
commit a78e19ea76
5 changed files with 5 additions and 4 deletions

View File

@@ -242,7 +242,7 @@ function notification($params)
$itemlink = $params['link'];
}
if ($params['type'] == NOTIFY_POKE) {
if ($params['type'] == Notify\Type::POKE) {
$subject = $l10n->t('[Friendica:Notify] %1$s poked you', $params['source_name']);
$preamble = $l10n->t('%1$s poked you at %2$s', $params['source_name'], $sitename);