purple-mattermost icon indicating copy to clipboard operation
purple-mattermost copied to clipboard

Dialog Flood "cannot parse mattermost reply"

Open josx opened this issue 4 years ago • 2 comments

In the lasts days every time i start pidgin I got dialog flood with (like 30 almost at the same time):

"cannot parse mattermost reply" (not json or object array)

https://github.com/EionRobb/purple-mattermost/blob/158ce2052af9aaf3d1f6f045f0cfba276e0e91cf/libmattermost.c#L218

Anyone knows why it is hapenning, or any clue to fix it?

josx avatar Sep 17 '20 12:09 josx

BTW I commented out this line.

--- a/libmattermost.c
+++ b/libmattermost.c
@@ -200,7 +200,7 @@ mm_check_mattermost_response(MattermostAccount *ma, JsonNode *node, gchar *errti
if (json_node_get_node_type(node) == JSON_NODE_ARRAY) {
return TRUE;
}
-       purple_notify_error(ma->pc, _("Error"), _("Cannot parse Mattermost reply"), _("(not json object or array)"), purple_request_cpar_from_connection(ma->pc));
+       //purple_notify_error(ma->pc, _("Error"), _("Cannot parse Mattermost reply"), _("(not json object or array)"), purple_request_cpar_from_connection(ma->pc));^M
return FALSE;
}

josx avatar May 26 '21 15:05 josx

I have the same issue, did it help to comment out the line?

yashasolutions avatar Nov 02 '22 11:11 yashasolutions