class SyncFriendRequestUnreadHandler extends GroupHandler<WFCMessage.Version> {
    @Override
    public ErrorCode action(ByteBuf ackPayload, String clientID, String fromUser, ProtoConstants.RequestSourceType requestSourceType, WFCMessage.Version request, Qos1PublishHandler.IMCallback callback) {<FILL_FUNCTION_BODY>}
}

            long[] head = new long[1];
            ErrorCode errorCode = m_messagesStore.SyncFriendRequestUnread(fromUser, request.getVersion(), head);
            if (errorCode == ERROR_CODE_SUCCESS) {
                publisher.publishNotification(IMTopic.NotifyFriendRequestTopic, fromUser, head[0]);
            }
            return errorCode;
    
<methods>public non-sealed void <init>() <variables>