https://bugzilla.gnome.org/show_bug.cgi?id=683326
{
GList *accounts;
guint len;
{
GList *accounts;
guint len;
+ TpConnectionPresenceType presence;
accounts = tp_account_manager_get_valid_accounts (
self->priv->account_manager);
accounts = tp_account_manager_get_valid_accounts (
self->priv->account_manager);
+ presence = tp_account_manager_get_most_available_presence (
+ self->priv->account_manager, NULL, NULL);
+
+ if (presence == TP_CONNECTION_PRESENCE_TYPE_OFFLINE)
+ {
+ display_page_message (self,
+ _("Change your presence to see contacts here"),
+ FALSE, FALSE);
+ goto out;
+ }
+
if (empathy_roster_view_is_empty (self->priv->view))
{
if (empathy_roster_view_is_searching (self->priv->view))
if (empathy_roster_view_is_empty (self->priv->view))
{
if (empathy_roster_view_is_searching (self->priv->view))