purple-mattermost
purple-mattermost copied to clipboard
Dialog Flood "cannot parse mattermost reply"
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?
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;
}
I have the same issue, did it help to comment out the line?