See screenie.
Notifications show one avatar
« le 30 Mars 2013 à 23:42 »
Ce sujet a été marqué résolu par son auteur, le 12 Avril 2013 à 02:09
![]() | The way it's meant to be |
PPS: what happens if I merge a post with an earlier one that has a notification attached to it..? I guess it loses it, right..?
public function getText(Notification $notification)
{
global $txt, $memberContext;
$data = $notification->getData();
if (empty($memberContext[$data['member']['id']]['avatar']))
loadMemberAvatar($data['member']['id'], true);
return sprintf($txt['wementions_notification'], !empty($memberContext[$data['member']['id']]['avatar']) ? $memberContext[$data['member']['id']]['avatar']['image'] : '', $data['member']['name'], $data['subject']);
}I'm not sure, it shouldn't?Citation de Nao le 1er Avril 2013 à 21:05 PPS: what happens if I merge a post with an earlier one that has a notification attached to it..? I guess it loses it, right..?