aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2010-07-06 20:49:09 +0800
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2010-07-07 16:03:37 +0800
commit4ac0eb75372d295c6ff7bd36fb7d708ad28132b2 (patch)
treead37671783958a3e7929e1804fd15ea9d8abf37c
parentdd3a1f3f2ce8b7b6f7c7ed02ff956ca26bc556e2 (diff)
downloadgsoc2013-empathy-4ac0eb75372d295c6ff7bd36fb7d708ad28132b2.tar
gsoc2013-empathy-4ac0eb75372d295c6ff7bd36fb7d708ad28132b2.tar.gz
gsoc2013-empathy-4ac0eb75372d295c6ff7bd36fb7d708ad28132b2.tar.bz2
gsoc2013-empathy-4ac0eb75372d295c6ff7bd36fb7d708ad28132b2.tar.lz
gsoc2013-empathy-4ac0eb75372d295c6ff7bd36fb7d708ad28132b2.tar.xz
gsoc2013-empathy-4ac0eb75372d295c6ff7bd36fb7d708ad28132b2.tar.zst
gsoc2013-empathy-4ac0eb75372d295c6ff7bd36fb7d708ad28132b2.zip
use a specific event type for muc invitations
-rw-r--r--src/empathy-event-manager.c4
-rw-r--r--src/empathy-event-manager.h3
2 files changed, 4 insertions, 3 deletions
diff --git a/src/empathy-event-manager.c b/src/empathy-event-manager.c
index 4c540acd7..dd4c1c038 100644
--- a/src/empathy-event-manager.c
+++ b/src/empathy-event-manager.c
@@ -711,8 +711,8 @@ event_manager_muc_invite_got_contact_cb (TpConnection *connection,
tp_channel_get_identifier (approval->main_channel));
event_manager_add (approval->manager, approval->contact,
- EMPATHY_EVENT_TYPE_CHAT, EMPATHY_IMAGE_GROUP_MESSAGE, msg, invite_msg,
- approval, event_room_channel_process_func, NULL);
+ EMPATHY_EVENT_TYPE_INVITATION, EMPATHY_IMAGE_GROUP_MESSAGE, msg,
+ invite_msg, approval, event_room_channel_process_func, NULL);
empathy_sound_play (window, EMPATHY_SOUND_CONVERSATION_NEW);
diff --git a/src/empathy-event-manager.h b/src/empathy-event-manager.h
index 126f67762..39aa0c979 100644
--- a/src/empathy-event-manager.h
+++ b/src/empathy-event-manager.h
@@ -53,7 +53,8 @@ typedef enum {
EMPATHY_EVENT_TYPE_VOIP,
EMPATHY_EVENT_TYPE_TRANSFER,
EMPATHY_EVENT_TYPE_SUBSCRIPTION,
- EMPATHY_EVENT_TYPE_PRESENCE
+ EMPATHY_EVENT_TYPE_PRESENCE,
+ EMPATHY_EVENT_TYPE_INVITATION,
} EmpathyEventType;
typedef struct {