about summary refs log tree commit diff stats
path: root/src/muc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/muc.c')
-rw-r--r--src/muc.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/muc.c b/src/muc.c
index 3aef0220..3c937670 100644
--- a/src/muc.c
+++ b/src/muc.c
@@ -454,8 +454,7 @@ muc_nick_in_roster(const char * const room, const char * const nick)
  */
 gboolean
 muc_add_to_roster(const char * const room, const char * const nick,
-    const char * const show, const char * const status,
-    const char * const caps_str)
+    const char * const show, const char * const status)
 {
     ChatRoom *chat_room = g_hash_table_lookup(rooms, room);
     gboolean updated = FALSE;
@@ -472,7 +471,7 @@ muc_add_to_roster(const char * const room, const char * const nick,
         }
         PContact contact = p_contact_new(nick, NULL, NULL, NULL, NULL, FALSE);
         resource_presence_t resource_presence = resource_presence_from_string(show);
-        Resource *resource = resource_new(nick, resource_presence, status, 0, caps_str);
+        Resource *resource = resource_new(nick, resource_presence, status, 0);
         p_contact_set_presence(contact, resource);
         g_hash_table_replace(chat_room->roster, strdup(nick), contact);
     }