aboutsummaryrefslogtreecommitdiffstats
path: root/matrix-room.c
diff options
context:
space:
mode:
authorRichard van der Hoff <richard@matrix.org>2015-10-19 14:00:28 +0100
committerRichard van der Hoff <richard@matrix.org>2015-10-19 14:00:28 +0100
commit23c1cbb4fb2500e9f6c429cb7db7fc04b049b74b (patch)
tree14de18cc89f981b73f2e408e6e3e260b78a809b1 /matrix-room.c
parent9a37c5c695906caf60c87a983a376eac7bf2b568 (diff)
downloadpurple-matrix-23c1cbb4fb2500e9f6c429cb7db7fc04b049b74b.tar.gz
Fix double-click on chat in buddy list
Make sure we are consistent with the identifiers used for chats, so that double-clicking on the name of a chat in the buddy list switches to that chat.
Diffstat (limited to 'matrix-room.c')
-rw-r--r--matrix-room.c33
1 files changed, 0 insertions, 33 deletions
diff --git a/matrix-room.c b/matrix-room.c
index bb519a0..f938538 100644
--- a/matrix-room.c
+++ b/matrix-room.c
@@ -150,36 +150,3 @@ const char *matrix_room_get_name(MatrixRoomStateEventTable *state_table)
return "unknown";
}
-
-GList *matrixprpl_chat_info(PurpleConnection *gc)
-{
- struct proto_chat_entry *pce; /* defined in prpl.h */
-
- pce = g_new0(struct proto_chat_entry, 1);
- pce->label = _("Chat _room");
- pce->identifier = "room_id";
- pce->required = TRUE;
-
- return g_list_append(NULL, pce);
-}
-
-GHashTable *matrixprpl_chat_info_defaults(PurpleConnection *gc,
- const char *room)
-{
- GHashTable *defaults;
-
- purple_debug_info("matrixprpl", "returning chat default setting "
- "'room_id' = 'default'\n");
-
- defaults = g_hash_table_new_full(g_str_hash, g_str_equal, NULL, g_free);
- g_hash_table_insert(defaults, "room_id", g_strdup("default"));
- return defaults;
-}
-
-char *matrixprpl_get_chat_name(GHashTable *components)
-{
- const char *room = "room_name"; /* TODO fix */
- purple_debug_info("matrixprpl", "reporting chat room name '%s'\n", room);
- return g_strdup(room);
-}
-