aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/status-provider-emesene.c12
1 files changed, 7 insertions, 5 deletions
diff --git a/src/status-provider-emesene.c b/src/status-provider-emesene.c
index 29a8a22..5aa6698 100644
--- a/src/status-provider-emesene.c
+++ b/src/status-provider-emesene.c
@@ -31,25 +31,27 @@ with this program. If not, see <http://www.gnu.org/licenses/>.
typedef enum {
EM_STATUS_ONLINE,
- EM_STATUS_OFFLINE,
+ EM_STATUS_INVISIBLE,
EM_STATUS_BUSY,
EM_STATUS_AWAY,
- EM_STATUS_IDLE
+ EM_STATUS_IDLE,
+ EM_STATUS_OFFLINE
} em_status_t;
static const StatusProviderStatus em_to_sp_map[] = {
/* EM_STATUS_ONLINE, */ STATUS_PROVIDER_STATUS_ONLINE,
- /* EM_STATUS_OFFLINE, */ STATUS_PROVIDER_STATUS_OFFLINE,
+ /* EM_STATUS_INVISIBLE, */ STATUS_PROVIDER_STATUS_INVISIBLE,
/* EM_STATUS_BUSY, */ STATUS_PROVIDER_STATUS_DND,
/* EM_STATUS_AWAY, */ STATUS_PROVIDER_STATUS_AWAY,
- /* EM_STATUS_IDLE, */ STATUS_PROVIDER_STATUS_AWAY
+ /* EM_STATUS_IDLE, */ STATUS_PROVIDER_STATUS_AWAY,
+ /* EM_STATUS_OFFLINE, */ STATUS_PROVIDER_STATUS_OFFLINE
};
static const em_status_t sp_to_em_map[STATUS_PROVIDER_STATUS_LAST] = {
/* STATUS_PROVIDER_STATUS_ONLINE, */ EM_STATUS_ONLINE,
/* STATUS_PROVIDER_STATUS_AWAY, */ EM_STATUS_AWAY,
/* STATUS_PROVIDER_STATUS_DND */ EM_STATUS_BUSY,
- /* STATUS_PROVIDER_STATUS_INVISIBLE*/ EM_STATUS_OFFLINE,
+ /* STATUS_PROVIDER_STATUS_INVISIBLE*/ EM_STATUS_INVISIBLE,
/* STATUS_PROVIDER_STATUS_OFFLINE */ EM_STATUS_OFFLINE,
/* STATUS_PROVIDER_STATUS_DISCONNECTED*/ EM_STATUS_OFFLINE
};