Commit 4ac0eb75 authored by Guillaume Desmottes's avatar Guillaume Desmottes

use a specific event type for muc invitations

parent dd3a1f3f
......@@ -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);
......
......@@ -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 {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment