Absence of TLR7 in T cells leads to the impaired T-bet expression in B cells and subsequent inefficient IgG2a isotype switching both in vitro and during the infection with Friend virus in vivo. Here, TLR7 is linked to infection.