aboutsummaryrefslogtreecommitdiffstats
path: root/libmatrix.c
diff options
context:
space:
mode:
authorEion Robb <eion@robbmob.com>2017-05-23 20:30:27 +1200
committerEion Robb <eion@robbmob.com>2017-05-23 20:30:27 +1200
commit2a3e07f61e274b945659064245afe8d68068be00 (patch)
tree90f53ae5c68713f32260e4c07539cc2616ac9d7c /libmatrix.c
parentd5e8df078fa6045e9d0799b5475acf93e7c57622 (diff)
downloadpurple-matrix-2a3e07f61e274b945659064245afe8d68068be00.tar.gz
Support HTML formatting on sending/receiving messages
Diffstat (limited to 'libmatrix.c')
-rw-r--r--libmatrix.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libmatrix.c b/libmatrix.c
index 5b3118c..2cc5de0 100644
--- a/libmatrix.c
+++ b/libmatrix.c
@@ -83,6 +83,8 @@ void matrixprpl_login(PurpleAccount *acct)
PurpleConnection *pc = purple_account_get_connection(acct);
matrix_connection_new(pc);
matrix_connection_start_login(pc);
+
+ pc->flags |= PURPLE_CONNECTION_HTML;
}