chat widget: Don't always show the info bar

Only show the 'contact is offline' info bar when the user actually tries
to send a message to an offline contact, otherwise it clutters the
interface.