aboutsummaryrefslogtreecommitdiffstats
path: root/matrix-room.c
diff options
context:
space:
mode:
authorRichard van der Hoff <richard@matrix.org>2015-10-22 17:08:58 +0100
committerRichard van der Hoff <richard@matrix.org>2015-10-22 17:17:04 +0100
commitcaff31061b68f3b26a889931503a61bf12b76329 (patch)
treee2068ca47d776c5c5760394a1807fcb7fb44dcb3 /matrix-room.c
parente8c4ddde265c060eb1466f39d3feb09694dd3482 (diff)
downloadpurple-matrix-caff31061b68f3b26a889931503a61bf12b76329.tar.gz
Refactor the connection code
Move all matrix-login and bits of matrix-sync into matrix-connection, where it seems to make more sense. Also move MatrixConnectionData into matrix-connection.h
Diffstat (limited to 'matrix-room.c')
-rw-r--r--matrix-room.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/matrix-room.c b/matrix-room.c
index cace33f..872eaa7 100644
--- a/matrix-room.c
+++ b/matrix-room.c
@@ -404,9 +404,8 @@ void matrix_room_handle_timeline_event(PurpleConversation *conv,
PurpleConversation *matrix_room_get_or_create_conversation(
- MatrixConnectionData *ma, const gchar *room_id)
+ PurpleConnection *pc, const gchar *room_id)
{
- PurpleConnection *pc = ma->pc;
PurpleConversation *conv = purple_find_conversation_with_account(
PURPLE_CONV_TYPE_CHAT, room_id, pc->account);
MatrixRoomStateEventTable *state_table;