{literal}
{*
*}{if $type != 7}{*
*}{@$formattedUsername}{*
*}{else}
{if $receiver == WCF.User.userID}
{@$formattedUsername}
{/if}
{if $receiver != WCF.User.userID}
{$additionalData.receiverUsername}{/if}{*
*}{/if}{*
*}{*
*}{if $receiver != WCF.User.userID}{*
*}{$separator}
{/if}
{@$formattedMessage}
{/literal}