See screenie.
Notifications show one avatar
« on March 30th, 2013, 11:42 PM »
This topic was marked solved by its starter, on April 12th, 2013, 02:09 AM
![]() | 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?Quote from Nao on April 1st, 2013, 09:05 PM 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..?